HowTo Install Redmine on Heroku

  • Install Redmine locally
git clone git://
cd redmine
git checkout 1.4-stable
cp config/database.yml.example config/database.yml
# edit config/database.yml
bundle install
rake config/initializers/session_store.rb
  • create an Heroku app
heroku create
  • remove from .gitignore these lines
  • configure heroku to run bundle install without sqlite group, otherwise it will fail
heroku config:add BUNDLE_WITHOUT="sqlite" 
# edit Gemfile, comment sqlite groups
bundle install
git add Gemfile Gemfile.lock
git commit -m "remove sqlite gem from bundle" 
  • commit changes and push to Heroku
git add -A
git commit -m "changes for heroku" 
git push heroku 1.4-stable:master
  • migrate and populate database
heroku run rake db:migrate
heroku run rake redmine:load_default_data


Updated by Lluís Gili over 11 years ago · 1 revisions