`

heroku quick deploy

阅读更多
#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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics