使用heroku云

安装toolbelt -> https://devcenter.heroku.com/x?url=https%3A%2F%2Ftoolbelt.heroku.com%2F

命令行 -> heroku login
参考 https://devcenter.heroku.com/articles/keys must do -> heroku keys:add

克隆:
git clone git://github.com/RobSpectre/Twilio-Hackpack-for-Heroku-and-Flask.git
heroku create –stack cedar

老三样:
git add .
git commit
git push heroku master

trouble shooting:
$ heroku restart
$ heroku logs –tail

用Heroku看youtube,抓nbcnightlynews podcast毫无问题!

参考:
https://devcenter.heroku.com/articles/quickstart
https://github.com/heroku/heroku-buildpack-python
https://devcenter.heroku.com/articles/buildpacks
https://github.com/RobSpectre/Twilio-Hackpack-for-Heroku-and-Flask

发表评论