-
Notifications
You must be signed in to change notification settings - Fork 57
Deploying to Heroku
graybill edited this page Aug 20, 2011
·
7 revisions
settings.yml needs to be in your repository to deploy to Heroku. Remove this line from your .gitignore file. TODO: Script to populate Heroku ENV variables from an ignored file.
To run Citizenry on Heroku you must specify a Heroku stack running Ruby 1.8.7
heroku create --stack bamboo-ree-1.8.7
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/