]> git.openstreetmap.org Git - rails.git/blob - config/example.database.yml
avatar inline attachment; text alignment
[rails.git] / config / example.database.yml
1 # Using a recent release (9.1 or higher) of PostgreSQL (http://postgresql.org/) is recommended.
2 # See https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md#database-setup for detailed setup instructions.
3 #
4 development:
5   adapter: postgresql
6   database: openstreetmap
7 #  username: openstreetmap
8 #  password: openstreetmap
9 #  host: localhost
10   encoding: utf8
11
12 # Warning: The database defined as 'test' will be erased and
13 # re-generated from your development database when you run 'rake'.
14 # Do not set this db to the same as development or production.
15 test:
16   adapter: postgresql
17   database: osm_test
18 #  username: osm_test
19 #  password: osm_test
20 #  host: localhost
21   encoding: utf8
22
23 production:
24   adapter: postgresql
25   database: osm
26 #  username: osm
27 #  password: osm
28 #  host: localhost
29   encoding: utf8