From d7bdffc8b66adc096ff3300797864993b9d8aae4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 10 Nov 2006 15:13:27 +1300 Subject: [PATCH] Clarification. --- docs/website/installation.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/website/installation.php b/docs/website/installation.php index 8812c8a1..51d3aae0 100644 --- a/docs/website/installation.php +++ b/docs/website/installation.php @@ -75,7 +75,11 @@ createuser --no-createdb --no-createrole general

You may need to become the 'postgres' user to do this, in which case -you will need to be the postgres user to create the database as well.

+you will need to be the postgres user to create the database as well. +For example:

+
+su postgres -c createuser --no-createdb --no-createrole general
+

To create the database itself, run the script:

@@ -86,9 +90,9 @@ of itself and it expects them to be located in /usr/share/awl/dba
 which might be a reasonable place, but it might not be where you
 have put them.

-

This script also expects to be running as a user who has rights -to create a new database, so you may need to do this as the "postgres" -user, for example:

+

Similarly to creating the user, this script also expects to be +running as a user who has rights to create a new database, so you +may need to do this as the "postgres" user, for example:

 su postgres -c /usr/share/rscds/dba/create-database.sh
 
@@ -151,8 +155,8 @@ and is a regular PHP file which sets (or overrides) some specific variables.

// $c->sysabbr = 'rscds'; // $c->admin_email = 'admin@example.net'; // $c->system_name = "Really Simple CalDAV Store"; -// $c->collections_always_exist = false; -// $c->default_locale = en; +// $c->collections_always_exist = true; +// $c->default_locale = en_NZ.UTF-8; // $c->pg_connect[] = 'dbname=caldav port=5433 user=general'; $c->pg_connect[] = 'dbname=caldav port=5432 user=general';