A Heroku-ready Django-based Flask replacement.
$ mkvirtualenv --python=$(which python3) tiny-django
$ pip install -r requirements.txt
$ pip cp .env.example .env
$ foreman start -f Procfile.dev
$ open "http://localhost:5000"
$ heroku config:set ALLOWED_HOSTS=tiny-django.herokuapp.com
$ heroku config:set DISABLE_COLLECTSTATIC=1
$ heroku config:set SECRET_KEY={{ secret_key }}
Based on Lightweight Django by Julia Elman and Mark Lavin. See the original code example.