Skip to content

Deploying to Heroku

peakpg edited this page May 14, 2012 · 14 revisions

These are my initial notes on making BrowserCMS work on Heroku, which is intended for release in v3.5.0

Create the project using sqlite (there are issues generating with -d postgresql syntax).

  1. Disable Caching

This will avoid the issue where files are written out and stops the cms subdomain redirects.

# config/environments/production.rb
config.action_controller.perform_caching = false
  1. Configure Postgresql in production
# Gemfile
gem 'sqlite3', :group=>:development
gem 'pg', :group=>:production
# config/database.yml
production:
  adapter: postgresql
  encoding: unicode
  database: heroku_app_production
  pool: 5
  username: heroku_app_user
  password: heroku_app_pw

References:

Clone this wiki locally