Skip to content

Instantly share code, notes, and snippets.

@Winslett
Created June 1, 2012 20:41
Show Gist options
  • Save Winslett/2855025 to your computer and use it in GitHub Desktop.
Save Winslett/2855025 to your computer and use it in GitHub Desktop.
MongoHQ & Heroku
heroku config:set MONGOHQ_URL='mongodb://myusername:mypassword@flame.mongohq.com:27017/my_database'
production:
uri: <%= ENV['MONGOHQ_URL'] %>
development:
uri: mongodb://localhost/myapp_dev
test:
uri: mongodb://localhost/myapp_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment