$ heroku login
$ heroku create
$ git push heroku master
$ heroku run rake db:migrate
$ heroku restart
$ heroku open
$ rake db:migrate
$ bundle exec ruby app.rb
$ open http://localhost:4567
$ heroku addons
$ heroku config
$ heroku pg
$ heroku logs
$ heroku pg:psql
$ 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