Commit 1a6073d7e514f41c4301912a7161c8870a649630
1 parent
7554eae2
Exists in
master
and in
1 other branch
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
README.md
| ... | ... | @@ -82,7 +82,14 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at |
| 82 | 82 | |
| 83 | 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 | 94 | gem install heroku |
| 88 | 95 | heroku create example-errbit --stack cedar |
| ... | ... | @@ -93,11 +100,11 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at |
| 93 | 100 | heroku config:add ERRBIT_EMAIL_FROM=example@example.com |
| 94 | 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 | 105 | heroku run rake db:seed |
| 99 | 106 | |
| 100 | - 4. Enjoy! | |
| 107 | + 5. Enjoy! | |
| 101 | 108 | |
| 102 | 109 | |
| 103 | 110 | **Configuring LDAP authentication:** | ... | ... |