Heroku + Bootstrappers 快速佈署


Using `bootstrappers` to create an App
$: bootstrappers <App>
$: cd <App>
$: git init
$: git add .
$: git commit -m 'Init'
Modify Gemfile
group :production do
gem ‘pg'
gem 'rails_12factor'
end


Update bundles with...
$: bundle
Deploy to Heroku
$: heroku create <AppName>
$: git push heroku master
$: heroku run rake db:migrate
$: heroku open => Check site.

留言

這個網誌中的熱門文章

php/symfony - 在 ubuntu 執行 composer install 出現 "ext-curl *", "ext-gd *", "lib-icu" 的相依錯誤訊息

Git - 同時 push 到多個 remote