Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 395 Bytes

Chapter21: Deploying to Heroku.md

File metadata and controls

13 lines (9 loc) · 395 Bytes

Deploying to Heroku

全世界的人应该看到我们的杰作,如果你是用Git和Heroku,那么你可以很快的部署你的应用.

首先添加Heroku希望你有的rails_12factorgem.Bundle并且commit.然后运行这些命令:

heroku create <whatever-name-you-want>
git push heroku master
heroku run rake db:migrate db:populate
heroku open

就是这样!