Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 709 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 709 Bytes

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