How to deploy application on heroku
This article introduces how to deploy web applications onto heroku.
reference links
vue2+Flask网站,轻松部署到免费主机Heroku
Getting Started on Heroku with Python
how to check log
heroku logs --tail
define starter
the command to start the web application is contained in file: Procfile
, format like below:web: gunicorn settingstarted.wsgi --log-file -
run on local
- Collect static resources:
python manage.py collectstatic
- Run by command:
heroku local web
submit local changes
1 | heroku local |