A sample Template on how to use the Quart Framework on Heroku.
-
Use Git to clone from github
$ git clone [email protected]:violentmagician/quart-heroku-sample.git
-
Setup a virutal environment
$ pipenv install $ pipenv shell
-
Test The app
(venv) $ python3 app.py
or
(venv) $ export QUART_APP=app:app (venv) $ quart
or
(venv) $ heroku local
-
Open Browser to test http://127.0.0.1:5000
-
Deploy to Heroku
$ heroku create $ git push heroku master