Commit 0fb77d9ce20d191f5b543f3a93a807f7d1decb39
1 parent
780e15a7
Exists in
master
and in
1 other branch
Added mongoid config for MongoHQ on heroku
Showing
2 changed files
with
11 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -107,6 +107,9 @@ git clone http://github.com/errbit/errbit.git |
107 | 107 | gem install heroku |
108 | 108 | heroku create example-errbit --stack cedar |
109 | 109 | heroku addons:add mongohq:free |
110 | +cp config/mongoid.mongohq.yml config/mongoid.yml | |
111 | +git add -f config/mongoid.yml | |
112 | +git commit -m "Added mongoid config for MongoHQ" | |
110 | 113 | heroku addons:add sendgrid:starter |
111 | 114 | heroku config:add HEROKU=true |
112 | 115 | heroku config:add ERRBIT_HOST=some-hostname.example.com | ... | ... |
... | ... | @@ -0,0 +1,8 @@ |
1 | +# Mongoid Configuration for MongoHQ on Heroku | |
2 | +# =========================================== | |
3 | +# | |
4 | +# Copy this file to config/mongoid.yml, | |
5 | +# commit it to your repo, then push to heroku. | |
6 | + | |
7 | +production: | |
8 | + uri: <%= ENV['MONGOHQ_URL'] %> | |
0 | 9 | \ No newline at end of file | ... | ... |