Created
January 7, 2009 01:32
-
-
Save TheNicholasNick/44127 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-merb@localhost ~/merb-project $ nano config/database.yml | |
ruby-merb@localhost ~/merb-project $ cat config/database.yml | |
--- | |
# This is a sample database file for the DataMapper ORM | |
development: &defaults | |
# These are the settings for repository :default | |
adapter: mysql | |
host: localhost | |
username: root | |
password: | |
database: dev | |
# Add more repositories | |
# repositories: | |
# repo1: | |
# adapter: sqlite3 | |
# database: sample_1_development.db | |
# repo2: | |
# ... | |
test: | |
<<: *defaults | |
database: test | |
# repositories: | |
# repo1: | |
# database: sample_1_test.db | |
production: | |
<<: *defaults | |
database: prod | |
# repositories: | |
# repo1: | |
# database: sample_production.db | |
rake: | |
<<: *defaults | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment