中文
https://www.jianshu.com/p/7bc34e56fa39
http://www.bjhee.com/flask-heroku.html
官方
Getting Started on Heroku with Python
GUI
https://dashboard.heroku.com/apps/
==================================================
用CLI部署一个app
python的版本
- you can also supply a
runtime.txt
file:
python-2.7.15
dependencies
- requirement.txt
部署
- $ heroku run python filename.py deploy
维护
#告诉Heroku,你要进行升级操作,此操作后web为offline heroku maintenance:on #提交部署 git push heroku master #重新运行服务器 heroku run python manage.py deploy heroku restart #告诉Heroku,升级完成 heroku maintenance:off