openbsd-ports/productivity/baikal/pkg
2022-03-11 19:51:39 +00:00
..
DESCR
PLIST drop RCS Ids 2022-03-11 19:51:39 +00:00
README drop RCS Ids 2022-03-11 19:51:39 +00:00

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

HTTP server Configuration
==========================
Baikal has been installed into ${INSTDIR}.

You should point this to the DocumentRoot of your web-server:
   # ln -s ../baikal/html ${PREFIX}/htdocs/baikal
(make sure you use a relative symlink if your server is chrooted)

Alternatively the below configuration can be used for httpd from
base together with php-fpm:

server "default" {
	listen on * port 80

	location "/.well-known/ca*dav" {
		block return 301 "http://<hostname>/baikal/dav.php"
	}

	location "/baikal/*.php*" {
		root "/baikal/html"
		request strip 1
		fastcgi socket "/run/php-fpm.sock"
		directory index index.php
	}

	location "/baikal/*" {
		root "/baikal/html"
		request strip 1
		directory index index.php
	}
}

Database Configuration
======================
Baikal can work with a MySQL/MariaDB or SQLite3 database. For either
database the corresponding package needs to be installed:
    php-pdo_mysql
or
    php-pdo_sqlite

Post-installation
=================
To finish the installation go to http://<hostname>/baikal/ and follow
the instructions.

Baikal administration
=====================
To administer Baikal, point your browser to:
    http://<hostname>/baikal/admin/