- Version >= 3.7.0
USER_NAME: user's name to connect into MySQL database
DB_PASSWORD: user's password to connect into MySQL database
MYSQL_PATH: the path where MySQL is installed.
DB_BACKUP_PATH: the path where the database will be backed up.
API_KEY: API key
WORK_TIME: working time
REST_TIME: rest time
-
launch Powershell.
-
Move to project folder.
-
Run following command.
pip install -r requirements.txt
Run following command.
python db.py -c
Run following command.
python app.py
Run following command.
python db.py
Run following command.
python db.py -r {date_time}
ex. python db.py -r 20210216-111111