A simple Python Flask example application that's ready to run on Heroku.
-
pipenv install
-
pipenv shell
-
python app.py
-
heroku create
-
heroku addons:create heroku-postgresql:hobby-dev
-
git push heroku master
-
Note: make sure you run
db.create_all()
to create the tables.