Requirements
If you are going to install Cyca from the git repository (which is likely to occur until a pre-packaged archive is available), you will need to install a few additionnal tools:
- Composer
- Bower
- and, of course, git
You can then clone Cyca’s git repository and install dependencies:
git clone https://git.athaliasoft.com/athaliasoft/Cyca.git
cd Cyca
bower --update
composer update
If you plan on generating websites thumbnail, a few steps are required. First, grab a copy of phantomjs, either by compiling it from source (very easy) under GNU/Linux, or by downloading the binary package corresponding to your operating system.
The recommended location for the phantomjs executable is in Cyca’s bin/ folder, but you can place it wherever you want, as long as you update the path later in the administration interface.
If you plan on use geolocalization features, you have to download the GeoLite2 City database, and put it in the bin folder, or anywhere else. Remember to set the path to this database in the administration interface before running the updaters.
If you are under GNU/Linux, you may want to install some fonts for correctly rendering webpages. For instance, under Debian GNU/Linux, you can use the following snippet:
apt-get install freetype* fontconfig
PHP
Cyca requires PHP >= 5.4, with the following extensions:
- Imagick
- GD
- cURL
- PDO
- mbstring (recommended)
- XML
- PCRE
- LDAP (if you want to use LDAP authentication)
- IMAP (if you want to use IMAP authentication)
Misc
Once you installed Cyca in it’s server accessible directory, you must give write access to the web server user to the following directories:
- conf/
- cache/
Now you can open Cyca in your favorite browser and fill the form.
Please note that you don’t have to edit any files in the conf/ directory. In fact, you should not touch any files in there ! All the configuration is done in the administration interface of Cyca.