For installing required libs and frameworks execute next commands:
pip install -r requirements.txt
Copy config.py.example and rename this file to config.py
Set db credentials
- Initialize migration (choose directory with migrations.py) & enter following command
migrations.py db init
- Create migrations files
migrations.py db migrate
- Create tables from migrations
migrations.py db upgrade
Create test records
python create_database.py
For the start application execute
python run.py