From 1a6073d7e514f41c4301912a7161c8870a649630 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Mon, 15 Aug 2011 12:48:03 +0800 Subject: [PATCH] Added mongoid.yml instructions to **Deploying to Heroku** section. Heroku requires mongoid.yml to be checked in. --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc15ade..704cf48 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,14 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at git clone http://github.com/jdpace/errbit.git - 2. Create & configure for Heroku + 2. Copy database settings from mongoid.example.yml, and commit mongoid.yml to repository + + cp config/mongoid.example.yml config/mongoid.yml + sed -i "\|^config/mongoid.yml$|d" .gitignore + git add config/mongoid.yml .gitignore + git commit -m "Added mongoid.yml config for heroku." + + 3. Create & configure for Heroku gem install heroku heroku create example-errbit --stack cedar @@ -93,11 +100,11 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at heroku config:add ERRBIT_EMAIL_FROM=example@example.com git push heroku master - 3. Seed the DB (_NOTE_: No bootstrap task is used on Heroku!) + 4. Seed the DB (_NOTE_: No bootstrap task is used on Heroku!) heroku run rake db:seed - 4. Enjoy! + 5. Enjoy! **Configuring LDAP authentication:** -- libgit2 0.21.2