Lines 1-32
Link Here
|
1 |
To complete the installation of DAViCal: |
1 |
To complete the installation of DAViCal: |
2 |
|
2 |
|
3 |
1. Create the database user: |
3 |
1. Create DAViCal's database |
4 |
|
4 |
|
5 |
createuser -U pgsql -S --no-createdb --no-createrole general |
5 |
su pgsql %%DOCSDIR%%/dba/create-database.sh |
6 |
|
6 |
|
7 |
2. Create DAViCal's database |
7 |
2. Edit pg_hba.conf file to add the davical_app user close to the |
|
|
8 |
top of the accounts |
8 |
|
9 |
|
9 |
su pgsql %%DOCSDIR%%/dba/create-database.sh |
10 |
local davical davical_app trust |
10 |
|
11 |
|
11 |
3. Fix permissions |
12 |
3. Copy and edit your config file |
12 |
|
13 |
|
13 |
psql -U pgsql davical -c "grant all on \ |
14 |
cp %%WWWDIR%%/config/example-config.php %%WWWDIR%%/config/config.php |
14 |
awl_db_revision, caldav_data, calendar_item, collection, \ |
|
|
15 |
dav_resource, dav_resource_type, freebusy_ticket, \ |
16 |
group_member, locks, principal, principal_type, privilege, \ |
17 |
property, relationship, relationship_type, role_member, \ |
18 |
roles, session, supported_locales, time_zone, tmp_password, \ |
19 |
usr, usr_setting, dav_id_seq, dav_resource_type_resource_type_id_seq, \ |
20 |
principal_principal_id_seq, principal_type_principal_type_id_seq, \ |
21 |
relationship_type_rt_id_seq, roles_role_no_seq, \ |
22 |
session_session_id_seq, usr_user_no_seq \ |
23 |
to general;" |
24 |
|
15 |
|
25 |
psql -U pgsql davical -c "grant all on database davical to general;" |
16 |
4. Enable in apache by copying the httpd-davical.conf from the |
26 |
|
17 |
documentation directory to the Apache Include directory and restart |
27 |
4. Copy and edit your config file |
18 |
Apache. |
28 |
|
|
|
29 |
cp %%WWWDIR%%/config/example-config.php %%WWWDIR%%/config/config.php |
30 |
|
31 |
5. Enable in apache by copying the httpd-davical.conf from the |
32 |
documentation directory to the Apache Include directory and restart Apache. |