]> git.openstreetmap.org Git - rails.git/blobdiff - config/example.database.yml
Use rails to migrate database for vagrant
[rails.git] / config / example.database.yml
index e075d7f8df7b695cbc53940940e744c5adcf48b2..4c77998da1d38fbe45a6b2766e3ebce7f26a0a86 100644 (file)
@@ -1,12 +1,12 @@
-# Using a recent release (8.3 or higher) of PostgreSQL (http://postgresql.org/) is recommended.
-# See http://wiki.openstreetmap.org/wiki/The_Rails_Port#PostgreSQL_setup for detailed setup instructions.
+# 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
 #
 development:
   adapter: postgresql
   database: openstreetmap
 #  username: openstreetmap
 #  password: openstreetmap
-  host: localhost
+#  host: localhost
   encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
   encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
@@ -17,7 +17,7 @@ test:
   database: osm_test
 #  username: osm_test
 #  password: osm_test
   database: osm_test
 #  username: osm_test
 #  password: osm_test
-  host: localhost
+#  host: localhost
   encoding: utf8
 
 production:
   encoding: utf8
 
 production:
@@ -25,5 +25,5 @@ production:
   database: osm
 #  username: osm
 #  password: osm
   database: osm
 #  username: osm
 #  password: osm
-  host: localhost
+#  host: localhost
   encoding: utf8
   encoding: utf8