1. Run bundle install to ensure the environment is updated
  2. Run RAILS_ENV=production rake db:create db:migrate db:seed
  3. Run rake secret and copy the output
  4. Change production.rb file config.assets.compile = false to config.assets.compile = true
  5. From the command line: export SECRET_KEY_BASE=output-of-rake-secret
  6. To precompile your assets, run rake assets:precompile RAILS_ENV=production. This will create a folder public/assets that contains all of your assets.
  7. Run RAILS_ENV=production rails s and you should see your app.

When any change to source code is done, clobber your assets (rake assets:clobber) and re-precompile (rake assets:precompile).