Skip to content

Deploying to Heroku

graybill edited this page Aug 20, 2011 · 7 revisions

This documentation is WIP and currently quite incomplete. Use at your own risk.

Change your .gitignore file

settings.yml needs to be in your repository to deploy to Heroku. Remove this line from your .gitignore file.

Create Heroku Application

To run Citizenry on Heroku you must specify a Heroku stack running Ruby 1.8.7

heroku create --stack bamboo-ree-1.8.7

Development Environment

Install PostgreSQL

If you are deploying Citizenry to Heroku, it is strongly advised that you use PostgreSQL in your development environment. There are subtle syntax differences that could otherwise cause bugs in your production environment.

Easiest way to get PostgreSQL is to use Homebrew (http://mxcl.github.com/homebrew/)

Once Homebrew is installed, run

brew install postgresql

Alternatively install from the binary: http://www.postgresql.org/

Clone this wiki locally