diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-05-14 17:06:59 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-05-14 17:06:59 +0100 |
commit | 7ed67a2f04416afd02a3fb710315be2cdf568662 (patch) | |
tree | c6933aee77331d1e24715ab88464bb37dbb619a6 /installing | |
parent | 151060e763b04df132f081e54d103ba2636f89e8 (diff) |
Show completed database.yml section example
Diffstat (limited to 'installing')
-rw-r--r-- | installing/manual_install.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/installing/manual_install.md b/installing/manual_install.md index 4938dc7c3..c4961d798 100644 --- a/installing/manual_install.md +++ b/installing/manual_install.md @@ -178,6 +178,16 @@ and password of your postgres database. * Edit it to point to your local postgresql database in the development and test sections. +Example `development` section of `config/database.yml`: + + development: + adapter: postgresql + database: foi_development + username: foi + password: secure-password-here + host: localhost + port: 5432 + Make sure that the user specified in `database.yml` exists, and has full permissions on these databases. As they need the ability to turn off constraints whilst running the tests they also need to be a superuser |