欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

heroku quick deploy

程序员文章站 2022-03-09 11:41:43
...
#need pg in Gemfile
#sqlite3 in dev
1) gem install heroku

2) heroku login

3) heroku create

4) heroku apps:rename newapp 
[https://devcenter.heroku.com/articles/renaming-apps]

5) git push heroku master
[https://devcenter.heroku.com/articles/git]

6) heroku run rake db:version
[https://devcenter.heroku.com/articles/rake]

7) heroku run rake --trace db:migrate



Gold: http://newapp.herokuapp.com

Silver: http://newapp.herokuapp.com



Console: 
------------
heroku run console



Further reading:
----------------------
https://devcenter.heroku.com
相关标签: ruby heroku