Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 577 Bytes

README.md

File metadata and controls

30 lines (28 loc) · 577 Bytes

Prerequisites

  1. Update alembic.ini file line 58, database/config.py
sqlalchemy.url = mysql+mysqlconnector://root:[email protected]:3306/mysqldb
  1. Run alembic upgrade command.
alembic upgrade heads
  1. Install requirements.
pip3 install -r requirements.txt
  1. Populate database tables.
python3 database/populate_tables.py

Start Flask Application

The application will run at 127.0.0.1:5000.

Run pytest Tests

  1. Run tests.
python -m coverage run -m pytest
  1. Run coverage report.
coverage report