Merge branch 'master' of git+ssh://repo.or.cz/srv/git/mwamko
[mwamko.git] / config / database.yml
blob6ca92ebd2ab0ad72e8af6b83fc98a683799b1988
1 # Mwamko is developed on PostgreSQL 8.2.4
2 # MySQL should also be possible
4 # To test the connection:
5 # 1. cd into the root of Mwamko
6 # 2. Run: rake db:migrate 
7 #    If no errors are displayed then it works
11 development:
12   adapter: postgresql
13   database: mwamko_development
14   username: postgres
15   password:
16   host: localhost
18 # Warning: The database defined as 'test' will be erased and
19 # re-generated from your development database when you run 'rake'.
20 # Do not set this db to the same as development or production.
21 test:
22   adapter: postgresql
23   database: mwamko_test
24   username: postgres
25   password:
26   host: localhost
28 production:
29   adapter: postgresql
30   database: mwamko_production
31   username: postgres
32   password: 
33   host: localhost