Commit 2b5ae82cf858754aa83da10a2d4af64d04d3fd09
Committed by
Antonio Terceiro
1 parent
12b82c08
Exists in
master
and in
28 other branches
Adding sample database.yml file for Postgresql
--00163630fc2b17c9f30486834628 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Adding sample database.yml file for Postgresql (ActionItem1532)
Showing
1 changed file
with
51 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,51 @@ |
| 1 | +# PostgreSQL. Versions 7.4 and 8.x are supported. | |
| 2 | +# | |
| 3 | +# Install the ruby-postgres driver: | |
| 4 | +# gem install ruby-postgres | |
| 5 | +# On Mac OS X: | |
| 6 | +# gem install ruby-postgres -- --include=3D/usr/local/pgsql | |
| 7 | +# On Windows: | |
| 8 | +# gem install ruby-postgres | |
| 9 | +# Choose the win32 build. | |
| 10 | +# Install PostgreSQL and put its /bin directory on your path. | |
| 11 | +development: | |
| 12 | + adapter: postgresql | |
| 13 | + encoding: unicode | |
| 14 | + database: noosfero_development | |
| 15 | + username: noosfero | |
| 16 | + password: | |
| 17 | + | |
| 18 | + # Connect on a TCP socket. Omitted by default since the client uses a | |
| 19 | + # domain socket that doesn't need configuration. Windows does not have | |
| 20 | + # domain sockets, so uncomment these lines. | |
| 21 | + #host: localhost | |
| 22 | + #port: 5432 | |
| 23 | + | |
| 24 | + # Schema search path. The server defaults to $user,public | |
| 25 | + #schema_search_path: myapp,sharedapp,public | |
| 26 | + | |
| 27 | + # Minimum log levels, in increasing order: | |
| 28 | + # debug5, debug4, debug3, debug2, debug1, | |
| 29 | + # log, notice, warning, error, fatal, and panic | |
| 30 | + # The server defaults to notice. | |
| 31 | + #min_messages: warning | |
| 32 | + | |
| 33 | +# Warning: The database defined as "test" will be erased and | |
| 34 | +# re-generated from your development database when you run "rake". | |
| 35 | +# Do not set this db to the same as development or production. | |
| 36 | +test:&TEST | |
| 37 | + adapter: postgresql | |
| 38 | + encoding: unicode | |
| 39 | + database: noosfero_test | |
| 40 | + username: noosfero | |
| 41 | + password: | |
| 42 | + | |
| 43 | +production: | |
| 44 | + adapter: postgresql | |
| 45 | + encoding: unicode | |
| 46 | + database: noosfero_production | |
| 47 | + username: noosfero | |
| 48 | + password: | |
| 49 | + | |
| 50 | +cucumber: | |
| 51 | + <<: *TEST | ... | ... |