- Install requirements
- Create MySQL database
- Run generator.sql
- Run Django server
- Run PyQT client
Clone this repo and install requirements.txt in a python โฅ 3.8.0 environment
git clone https://github.com/yeongin-ji/Algorithm-Term-Project #clone
cd Algorithm-Term-Project
pip install -r requirements.txt # install
Install MySQL 8.0.35 in this site
Create dataset by running generator.sql in your MySQL database
\sql
\connect --mysql root@localhost:3306
\source <your_path>\Algorithm-Term-Project\generator.sql
- user: Define the user information required to provide the recommended service.
- product: Defines a list of drinks sold by vending machines.
- orders: Define which users ordered which drinks.
Run Django Rest API server
python manage.py runserver
Run PyQT client and enjoy Dynamic Vending Machine!
python dvm_client.py