2015-05-29   heroku 

Herokuのコマンドメモ

Starting Heroku

$ heroku login
$ heroku create
$ git push heroku master
$ heroku run rake db:migrate
$ heroku restart
$ heroku open

Local Commands

$ rake db:migrate
$ bundle exec ruby app.rb
$ open http://localhost:4567

Heroku commands

$ heroku addons
$ heroku config
$ heroku pg
$ heroku logs
$ heroku pg:psql

Heroku domain

$ open https://devcenter.heroku.com/articles/custom-domains
$ heroku domains:add myapp.example.com

Now, set up your CNAME record to as xxxx-xxxx-1234.herokuapp.com with your DNS provider.

$ host myapp.example.com
 2015-05-29   heroku