-
Install heroku CLI appropriately for your operating system, instructions can be found: https://devcenter.heroku.com/articles/getting-started-with-python#set-up
-
Create and activate virtual environment, then install the dependencies:
pip install -r requirements.txt
-
Install developer dependencies:
pip install -r requirements.dev.txt
-
Create local instance of database:
flask db init flask db migrate flask db upgrade
or:
python manage.py db init python manage.py db migrate python manage.py db upgrade
-
Run app using command:
python run.py
orheroku local web
orflask run