Setup Red Mine on Heroku

My customization

I followed this tutorial, with only a minor customization.

  1. Use mysql2 instead of mysql in database.yml
  2. Use master branch in Red Mine
  3. Remove sqlite3 related gems in Gemfile
  4. Add themes in public/themes, and switch theme in Administrator/settings/display

Deploying with Heroku

I added a few steps from above tutorial, since this is my first deploy to Heroku.

  1. Installing the Heroku toolbelt
  2. Use heroku login to switch to heroku env.
  3. Use heroku keys:add ~/.ssh/id_rsa_x.pub to setup key for ssh session when doing git push
  4. Restart heroku by heroku ps:restart and use heroku open to try out your app
  5. Edit config/environment.rb to comment out the exit in case of plugins in vendor: # exit 1

Note:

  • This other reference shows clearly the fix of vendor plugin issue. Thanks.

  • This other reference is very informative, but slightly out of date.