Deploy Flow (2)
• From your local machine:
# get command line tool(like herokutoolbelt)
gem install dokku-cli
# get Heroku Ruby on Rails example app
git clone
[email protected]:heroku/ruby-rails-sample.git
# Add remote repository to git
git remote add dokku
[email protected]:ruby-rails-sample
# Set secret key
bundle exec rake secret
dokku config:set SECRET_KEY_BASE=xxx
# Deploy the app (Zero downtime)
git push dokku master