mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-22 14:40:38 +00:00
Install example configs as /etc/davical/config.php and /etc/apache2/sites-available/davical.conf
This commit is contained in:
parent
0f28e186c4
commit
3ca2801059
12
debian/README.Debian
vendored
12
debian/README.Debian
vendored
@ -21,19 +21,11 @@ Don't forget to restart postgres for the change to take effect!
|
||||
|
||||
sudo -u postgres /usr/share/davical/dba/create-database.sh
|
||||
|
||||
3. Create an Apache vhost config (e.g. from examples/apache-davical.conf),
|
||||
3. Review and activate the default Apache config ('a2ensite davical'),
|
||||
or symlink /usr/share/davical/htdocs somewhere below an existing vhost's
|
||||
document root.
|
||||
|
||||
4. Create /etc/davical/config.php containing at least the lines
|
||||
|
||||
<?php
|
||||
$c->pg_connect[] = 'dbname=davical user=davical_app';
|
||||
?>
|
||||
|
||||
See example-config.php and the other config snippets in the examples
|
||||
directory, as well as the DAViCal website and wiki, for a wealth of
|
||||
possible customizations.
|
||||
4. Customize /etc/davical/config.php if you want.
|
||||
|
||||
5. Point your browser to /setup.php (or wherever you symlinked the
|
||||
htdocs directory in step 3), log in as user admin with the password
|
||||
|
||||
1
debian/control
vendored
1
debian/control
vendored
@ -6,6 +6,7 @@ Uploaders: Andrew McMillan <awm@debian.org>,
|
||||
Florian Schlichting <fsfs@debian.org>
|
||||
Standards-Version: 3.9.8
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-exec,
|
||||
libawl-php (>= 0.57-1~), libawl-php (<< 0.58),
|
||||
gettext,
|
||||
php-apigen,
|
||||
|
||||
1
debian/davical.dirs
vendored
1
debian/davical.dirs
vendored
@ -1 +0,0 @@
|
||||
etc/davical/
|
||||
3
debian/davical.install
vendored
Normal file → Executable file
3
debian/davical.install
vendored
Normal file → Executable file
@ -1,4 +1,7 @@
|
||||
#! /usr/bin/dh-exec
|
||||
dba htdocs inc locale usr/share/davical
|
||||
config/apache-davical.conf => etc/apache2/sites-available/davical.conf
|
||||
config/example-config.php => etc/davical/config.php
|
||||
config/* usr/share/doc/davical/examples
|
||||
scripts/*.php usr/share/davical/scripts
|
||||
scripts/davical-cli usr/share/davical/scripts
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -16,4 +16,6 @@ override_dh_auto_build:
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs ChangeLog
|
||||
rm debian/davical/usr/share/davical/htdocs/.htaccess || true
|
||||
rm -f debian/davical/usr/share/doc/davical/examples/apache-davical.conf \
|
||||
debian/davical/usr/share/doc/davical/examples/example-config.php
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user