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

Folders and files

NameName
Last commit message
Last commit date
Mar 4, 2018
Apr 6, 2018
Jun 3, 2012
Jul 7, 2019
Nov 8, 2016
Jul 7, 2019
Jul 7, 2019
Jun 3, 2012
Jul 7, 2019
Apr 6, 2018
Mar 4, 2018

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