- install PHP74 + extension
- php7.4
- php7.4-cli
- php7.4-common
- php7.4-curl
- php7.4-json
- php7.4-mbstring
- php7.4-mysql
- php7.4-opcache
- php7.4-readline
- php7.4-soap
- php7.4-sqlite3
- php7.4-xdebug
- php7.4-xml
- php7.4-xmlrpc
- install composer
- install MySQL/mariaDB
0.1) Checkout branch master
0.2) Run git submodule init && git submodule update
0.3) Run composer install
- Create
/etc/hosts
entries for addressesdb.fykos.local
andauth.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
- 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>
-
Run
sql/schema.sql
andsql/initval.sql
in your MySQL database. -
Run
sql/views.sql
in your MySQL database. May require two times execution due to bad sorting.
-
Copy
app/config/config.local.neon.sample
toapp/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 -
Make directories temp/, log/ and upload/ writable by your Apache user.
- Register yourself and then add superuser role to the created login.
- make sure the
path
has the+x
property, i.e.sudo chmod +x /home
,sudo chmod +x /home/user
,sudo chmod +x /home/user/fksdb_path