Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 524 Bytes

README.md

File metadata and controls

45 lines (26 loc) · 524 Bytes

Myze Backend

To set up the project:

python3 -m venv venv

To activate the virtual environment:

source venv/bin/activate

To install packages:

pip install -r requirements.txt

Then, have DynamoDB running in the background.

To initialize the tables in the database:

FLASK_APP=myze_service FLASK_ENV=development flask init-db

To start the app:

FLASK_APP=myze_service FLASK_ENV=development flask run

To deactivate the virtual environment:

deactivate