Skip to content

Commit

Permalink
setup production mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
gudata committed Oct 7, 2010
1 parent be8e4c0 commit 2631716
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/mongoid.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ test:
# set these environment variables on your prod server # set these environment variables on your prod server
production: production:
<<: *defaults <<: *defaults
host: <%= ENV['MONGOID_HOST'] %> # host: <%= ENV['MONGOID_HOST'] %>
port: <%= ENV['MONGOID_PORT'] %> # port: <%= ENV['MONGOID_PORT'] %>
username: <%= ENV['MONGOID_USERNAME'] %> # username: <%= ENV['MONGOID_USERNAME'] %>
password: <%= ENV['MONGOID_PASSWORD'] %> # password: <%= ENV['MONGOID_PASSWORD'] %>
database: <%= ENV['MONGOID_DATABASE'] %> # database: <%= ENV['MONGOID_DATABASE'] %>
database: kvartala_production

0 comments on commit 2631716

Please sign in to comment.