Commit c68dd7014ea64d8c09e2254cf456b549d9bafddb
1 parent
bcbcfc15
Exists in
master
and in
23 other branches
moving standard configuration away
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@3 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
35 additions
and
35 deletions
Show diff stats
config/database.yml
| ... | ... | @@ -1,35 +0,0 @@ |
| 1 | -# MySQL (default setup). Versions 4.1 and 5.0 are recommended. | |
| 2 | -# | |
| 3 | -# Install the MySQL driver: | |
| 4 | -# gem install mysql | |
| 5 | -# On MacOS X: | |
| 6 | -# gem install mysql -- --include=/usr/local/lib | |
| 7 | -# On Windows: | |
| 8 | -# There is no gem for Windows. Install mysql.so from RubyForApache. | |
| 9 | -# http://rubyforge.org/projects/rubyforapache | |
| 10 | -# | |
| 11 | -# And be sure to use new-style password hashing: | |
| 12 | -# http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| 13 | -development: | |
| 14 | - adapter: mysql | |
| 15 | - database: anhetegua_development | |
| 16 | - username: root | |
| 17 | - password: | |
| 18 | - host: localhost | |
| 19 | - | |
| 20 | -# Warning: The database defined as 'test' will be erased and | |
| 21 | -# re-generated from your development database when you run 'rake'. | |
| 22 | -# Do not set this db to the same as development or production. | |
| 23 | -test: | |
| 24 | - adapter: mysql | |
| 25 | - database: anhetegua_test | |
| 26 | - username: root | |
| 27 | - password: | |
| 28 | - host: localhost | |
| 29 | - | |
| 30 | -production: | |
| 31 | - adapter: mysql | |
| 32 | - database: anhetegua_production | |
| 33 | - username: root | |
| 34 | - password: | |
| 35 | - host: localhost |
| ... | ... | @@ -0,0 +1,35 @@ |
| 1 | +# MySQL (default setup). Versions 4.1 and 5.0 are recommended. | |
| 2 | +# | |
| 3 | +# Install the MySQL driver: | |
| 4 | +# gem install mysql | |
| 5 | +# On MacOS X: | |
| 6 | +# gem install mysql -- --include=/usr/local/lib | |
| 7 | +# On Windows: | |
| 8 | +# There is no gem for Windows. Install mysql.so from RubyForApache. | |
| 9 | +# http://rubyforge.org/projects/rubyforapache | |
| 10 | +# | |
| 11 | +# And be sure to use new-style password hashing: | |
| 12 | +# http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| 13 | +development: | |
| 14 | + adapter: mysql | |
| 15 | + database: anhetegua_development | |
| 16 | + username: root | |
| 17 | + password: | |
| 18 | + host: localhost | |
| 19 | + | |
| 20 | +# Warning: The database defined as 'test' will be erased and | |
| 21 | +# re-generated from your development database when you run 'rake'. | |
| 22 | +# Do not set this db to the same as development or production. | |
| 23 | +test: | |
| 24 | + adapter: mysql | |
| 25 | + database: anhetegua_test | |
| 26 | + username: root | |
| 27 | + password: | |
| 28 | + host: localhost | |
| 29 | + | |
| 30 | +production: | |
| 31 | + adapter: mysql | |
| 32 | + database: anhetegua_production | |
| 33 | + username: root | |
| 34 | + password: | |
| 35 | + host: localhost | ... | ... |