This flask app is based on the cookiecutter template, Flask Foundation
-
Run required services first:
docker-compose up
-
On first run, create your local virtualenv:
make env
-
Activate local virtualenv:
source env/bin/activate
-
Run the flask app:
./manage.py server
-
Preview in browser: http://127.0.0.1:5000
-
CTRL + C
in the flask app console -
deactivate
your virtualenv -
Stop required services:
docker-compose stop
Execute unit tests:
make test
Execute code linting tool:
make lint
Clean slate:
make clean deps
Display routes:
./manage.py show-urls
# Admin creds:
admin:admin
# User creds:
demo:demo