Skip to content
/ flask-heroku-sample Public template

Flask Heroku Sample Application

License

Notifications You must be signed in to change notification settings

yefim/flask-heroku-sample

Repository files navigation

Flask Heroku Sample

A simple Python Flask example application that's ready to run on Heroku.

Deploy

Development Setup

  • pipenv install

  • pipenv shell

  • python app.py

Screenshot

screenshot

Deploy

  • 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:

$ heroku run python
Python 3.6.8 (default, Jan 29 2019, 19:35:16)
>>> from app import db
>>> db.create_all()
>>> exit()

Contributors