GitHunt
NL

nleskiw/flask-heroku-sample

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

Languages

HCL57.2%Dockerfile15.7%Python12.6%HTML8.1%CSS6.0%Procfile0.4%

Contributors

MIT License
Created November 10, 2025
Updated November 11, 2025
nleskiw/flask-heroku-sample | GitHunt