Installation procedure

Basics

Create the destination directory:

mkdir myark

Clone the git repository:

clone https://github.com/Amaury/SkrivArk myark

Change files' access rights:

cd myark
chmod 777 etc/temma.json log tmp var/splashscreen.html

Database & Cache

Create a MySQL database and user

# mysql
mysql> CREATE DATABASE myark;
mysql> CREATE USER 'myark'@'%' IDENTIFIED WITH mysql_native_password BY 'myark';
mysql> GRANT ALL PRIVILEGES ON myark.* to 'myark'@'%';

Setup cache

Ark can manage sessions using basic PHP sessions, or using a cache server. With a cache server, you can centralize sessions between multiple application servers.
Ark is compatible with Memcache and Redis.

HTTP Server

Ark is a web application that must be served by an HTTP server.

Apache

Ark provides a configuration file for Apache. Use it if you manage your own Apache server.
The Apache configuration is located in the etc/apache.conf file.
Replace every "arkdev.skriv.org" strings with your website name.

NginX

No configuration file is provided yet for NginX. If you use NginX, feel free to get inspiration from the Apache configuration file.

Ark configuration

Go to you Ark website with you usual web browser. You will be guided through a very simple 4-steps configuration process.