- Update
alembic.ini
file line 58, database/config.py
sqlalchemy.url = mysql+mysqlconnector://root:[email protected]:3306/mysqldb
- Run alembic upgrade command.
alembic upgrade heads
- Install requirements.
pip3 install -r requirements.txt
- Populate database tables.
python3 database/populate_tables.py
The application will run at 127.0.0.1:5000
.
- Run tests.
python -m coverage run -m pytest
- Run coverage report.
coverage report