6.0.0-git
2024-04-27
Last Modified 2024-03-16 by Guest

Setting up a Root Project

Horde 6 uses a different directory structure than previous versions of horde.
The Root Project is a level above and outside the '/web' directory which should be accessed by the web server (/srv/www/horde/). chown -R www-data:www-data /srv/www/horde/
The Root Project contains metadata files, configuration and live data.

Get it using composer (recommended)

cd /srv/www/horde/ 
sudo -u www-data composer create-project horde/bundle .

Get it using git (not recommended)

cd /srv/www/
git clone https://github.com/maintaina-com/horde-deployment.git

Manual download (not recommended)

- Download from the Release Page https://github.com/maintaina-com/horde-deployment/releases
- Unzip into your web server's path but outside the default web root. Depending on your distribution, this is /srv/www or /var/www

Manually create a webroot (not recommended)

mkdir presets
mkdir var
mkdir var/cache
mkdir var/config
mkdir var/log
touch var/log/horde.log
mkdir var/sessions
mkdir var/tmp
mkdir var/vfs
mkdir vendor
mkdir web
composer init --repository https://horde-satis.maintaina.com/packages.json --require "horde/horde ^6 || dev-FRAMEWORK_6_0" -s alpha