\
0.1) Checkout branch master
0.2) Run git submodule init && git submodule update
0.3) Run composer install
1) Create /etc/hosts
entries for addresses db.fykos.local
and auth.fykos.local
.
127.0.0.1 fykos.local fykos.localen
127.0.0.1 db.fykos.local db.fykos.localen
127.0.0.1 auth.fykos.local
2) Configure virtual hosts in /etc/apache/sites-available
with proper ServerName
and ServerAlias (see domains above). Create a symlink to that file in /etc/apache/sites-enabled
(You need only virtual host for FKSDB.)
<VirtualHost db.fykos.local auth.fykos.local>
ServerAdmin webmaster@localhost
DocumentRoot /absolute/path/to/fksdb/root/www/
ErrorLog ${APACHE_LOG_DIR}/error-fksdb.log
<Directory /absolute/path/to/fksdb/root/www/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog ${APACHE_LOG_DIR}/access-fksdb.log combined
</VirtualHost>
4) Run sql/schema.sql
and sql/initval.sql
in your MySQL database.
5) Run sql/views.sql
in your MySQL database. May require two times execution
due to bad sorting.
6) Copy app/config/config.local.neon.sample
to app/config/config.local.neon
and fill it with proper values (don't forget to add domain settings like:
domain:
cz: fykos.local
org: fykos.localen
tld: local
7) Make directories temp/, log/ and upload/ writable by your Apache user.
1) Register yourself and then add superuser role to the created login.
path
has the +x
property, i.e. sudo chmod +x /home
, sudo chmod +x /home/user
, sudo chmod +x /home/user/fksdb_path