aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installing
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-06-25 11:43:00 +0100
committerGareth Rees <gareth@mysociety.org>2014-06-26 11:49:40 +0100
commit3cd30c9952f9d174ff4b774b43659900f1d444d8 (patch)
tree75aa41cb6d9975491ede8c8198caae58113fa1dc /docs/installing
parentd0a8e9b3eb82176faec6896af3eb0333e794962f (diff)
Use alaveteli_ as database prefix rather than foi_
Clearer what app the database belongs to
Diffstat (limited to 'docs/installing')
-rw-r--r--docs/installing/macos.md6
-rw-r--r--docs/installing/manual_install.md8
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/installing/macos.md b/docs/installing/macos.md
index bdb4c90d8..e93ea452f 100644
--- a/docs/installing/macos.md
+++ b/docs/installing/macos.md
@@ -106,9 +106,9 @@ We'll create a template for our Alaveteli databases:
Then create the databases:
- createdb -T template_utf8 -O foi foi_production
- createdb -T template_utf8 -O foi foi_test
- createdb -T template_utf8 -O foi foi_development
+ createdb -T template_utf8 -O foi alaveteli_production
+ createdb -T template_utf8 -O foi alaveteli_test
+ createdb -T template_utf8 -O foi alaveteli_development
### Clone Alaveteli
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index d523a199a..bf2f9b7cd 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -183,9 +183,9 @@ We'll create a template for our Alaveteli databases:
Then create the databases:
- # sudo -u postgres createdb -T template_utf8 -O foi foi_production
- # sudo -u postgres createdb -T template_utf8 -O foi foi_test
- # sudo -u postgres createdb -T template_utf8 -O foi foi_development
+ # sudo -u postgres createdb -T template_utf8 -O foi alaveteli_production
+ # sudo -u postgres createdb -T template_utf8 -O foi alaveteli_test
+ # sudo -u postgres createdb -T template_utf8 -O foi alaveteli_development
Now you need to set up the database config file so that the application can
connect to the postgres database.
@@ -199,7 +199,7 @@ Example `development` section of `config/database.yml`:
development:
adapter: postgresql
template: template_utf8
- database: foi_development
+ database: alaveteli_development
username: foi
password: secure-password-here
host: localhost