Download

Preparation

Move the user interface to a directory of your choice, e.g., /var/shadowd_ui.
Change the root directory of the web server or vhost to the web folder, e.g., /var/shadowd_ui/web.
Make sure that app/cache and app/logs are writeable by the web server user.

Rewrite

You should rewrite requests to app.php.

Apache

If you are using Apache the rewrite is done automatically by an .htaccess file in the web folder.
The only requirements are that the module rewrite is loaded and that AllowOverride is All.

Lighttpd

If you are using Lighttpd you can use the module rewrite as well to do this, you have to add the following directive manually though.

url.rewrite-if-not-file = ( "(.+)" => "/app.php$1" )

NGINX

Rewriting requests is slightly more complicated for NGINX.
The configuration should look similar to this.

In the case of an error...

The web interface uses the PHP framework Symfony 2.
So if you are not able to install the interface for some reason you will most likely find a solution to your problem with the help of a search engine, e.g., Symfony and cPanel.
Alternatively you can also use the Docker container zecure/shadowd_ui that ships with an own web server.

Installation

Open a terminal and navigate to the root folder of the user interface.
To install the web application you have to download composer first.
It is recommended to do the installation without root privileges.

curl -s https://getcomposer.org/installer | php

Composer is an executable PHAR file which downloads the dependencies and creates a configuration file.
You can start the installation by running:

php composer.phar install

The installer asks you for a database driver.
The default value is pdo_pgsql for PostgreSQL.
If you are using MySQL change this value to pdo_mysql.
Set the other settings accordingly for the database you set up on the previous page.
It is highly recommended to change the secret token to a completely random string.