FLASK_APP=wsgi.py
$ flask db init
$ flask db migrate -m "create tables"
$ flask db upgrade
ERROR [root] Error: Can't locate revision identified by ...
Make sure to delete migration folder, app.db and other migration related files
- Set
FLASK_APP=wsgi.py
Procfile
is instructions for herokuruntime.txt
for Python version (e.g. 3.8.1)requirements.txt
for python packages