Heroku + Bootstrappers 快速佈署
Using `bootstrappers` to create an App
$: bootstrappers <App>Modify Gemfile
$: cd <App>
$: git init
$: git add .
$: git commit -m 'Init'
group :production do
gem ‘pg'
gem 'rails_12factor'
end
Update bundles with...
$: bundleDeploy to Heroku
$: heroku create <AppName>
$: git push heroku master
$: heroku run rake db:migrate
$: heroku open => Check site.
留言
張貼留言