Setup virtual environment:
pipenv install --python 3.7
pipenv install Flask Flask-SQLAlchemy Flask-Migrate
pipenv shell
Setup database:
FLASK_APP=web_app flask db init #> generates app/migrations dir
# run both when changing the schema:
FLASK_APP=web_app flask db migrate #> creates the db (with "alembic_version" table)
FLASK_APP=web_app flask db upgrade #> creates the "users" table
Run the app:
FLASK_APP=web_app flask run