openstreetmap-website/config/example.database.yml
Paul Norman 295c4f6992 Recommend PostgreSQL 9.1+ in database.yml
Postgres 8.3 is EOL and the minimum version supported by PostgreSQL
is 9.0. The production servers run 9.1, and the extension setup is
easier with it too.
2014-11-07 08:24:26 +00:00

29 lines
823 B
YAML

# Using a recent release (9.1 or higher) of PostgreSQL (http://postgresql.org/) is recommended.
# See https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md#database-setup for detailed setup instructions.
#
development:
adapter: postgresql
database: openstreetmap
# username: openstreetmap
# password: openstreetmap
# host: localhost
encoding: utf8
# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
# Do not set this db to the same as development or production.
test:
adapter: postgresql
database: osm_test
# username: osm_test
# password: osm_test
# host: localhost
encoding: utf8
production:
adapter: postgresql
database: osm
# username: osm
# password: osm
# host: localhost
encoding: utf8