Browse files

Ignores database.yml files

  * creates sample database.yml files instead to show configuration, but avoid from seeing uncommited changes on database.yml files
  • Loading branch information...
1 parent 5281c20 commit 97b91bc071ba2480617204f9dea509b755c71c83 @ramontayag ramontayag committed Jun 16, 2012
View
2 .gitignore
@@ -4,3 +4,5 @@ Gemfile.lock
pkg/*
*.log
*.sw[pno]
+spec/config/database.yml
+spec/dummy/config/database.yml
View
6 README.md
@@ -205,7 +205,9 @@ All jobs *must* stored in the global (public) namespace, so add it to the list o
## Development
-* The Local setup for development assumes that a root user with no password exists for both mysql and postgresl
+* In both `spec/dummy/config` and `spec/config`, you will see `database.yml.sample` files
+ * Copy them into the same directory but with the name `database.yml`
+ * Edit them to fit your own settings
* Rake tasks (see the Rakefile) will help you setup your dbs necessary to run tests
* Please issue pull requests to the `development` branch. All development happens here, master is used for releases
-* Ensure that your code is accompanied with tests. No code will be merged without tests
+* Ensure that your code is accompanied with tests. No code will be merged without tests
View
0 spec/config/database.yml → spec/config/database.yml.sample
File renamed without changes.
View
2 spec/dummy/config/database.yml → spec/dummy/config/database.yml.sample
@@ -7,7 +7,7 @@ test:
min_messages: WARNING
pool: 5
timeout: 5000
-
+
development:
adapter: postgresql
database: apartment_postgresql_development

0 comments on commit 97b91bc

Please sign in to comment.