Commit 1a6073d7e514f41c4301912a7161c8870a649630

Authored by Nathan Broadbent
1 parent 7554eae2
Exists in master and in 1 other branch production

Added mongoid.yml instructions to **Deploying to Heroku** section. Heroku requir…

…es mongoid.yml to be checked in.
Showing 1 changed file with 10 additions and 3 deletions   Show diff stats
@@ -82,7 +82,14 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at @@ -82,7 +82,14 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at
82 82
83 git clone http://github.com/jdpace/errbit.git 83 git clone http://github.com/jdpace/errbit.git
84 84
85 - 2. Create & configure for Heroku 85 + 2. Copy database settings from mongoid.example.yml, and commit mongoid.yml to repository
  86 +
  87 + cp config/mongoid.example.yml config/mongoid.yml
  88 + sed -i "\|^config/mongoid.yml$|d" .gitignore
  89 + git add config/mongoid.yml .gitignore
  90 + git commit -m "Added mongoid.yml config for heroku."
  91 +
  92 + 3. Create & configure for Heroku
86 93
87 gem install heroku 94 gem install heroku
88 heroku create example-errbit --stack cedar 95 heroku create example-errbit --stack cedar
@@ -93,11 +100,11 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at @@ -93,11 +100,11 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at
93 heroku config:add ERRBIT_EMAIL_FROM=example@example.com 100 heroku config:add ERRBIT_EMAIL_FROM=example@example.com
94 git push heroku master 101 git push heroku master
95 102
96 - 3. Seed the DB (_NOTE_: No bootstrap task is used on Heroku!) 103 + 4. Seed the DB (_NOTE_: No bootstrap task is used on Heroku!)
97 104
98 heroku run rake db:seed 105 heroku run rake db:seed
99 106
100 - 4. Enjoy! 107 + 5. Enjoy!
101 108
102 109
103 **Configuring LDAP authentication:** 110 **Configuring LDAP authentication:**