Installation - Linux
Required package
Update the Ubuntu repository and install common packages:
$ sudo apt-get update
$ sudo apt-get install curl
$ sudo apt-get install git
$ sudo apt-get install unzip
$ sudo apt-get install mbstring
Install PHP7.4
It’s crucial to install 7.4, not 8.x
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install php7.4
$ sudo apt-get install php7.4-fpm php7.4-pgsql php7.4-curl php7.4-cli php7.4-mbstring php7.4-xml
Make sure that curl
, pgsql
and pdo_pgsql
extensions are installed
$ php -m
In case of any problems, try to remove php-common
and repeat the installation of modules
$ sudo apt-get --purge remove php-common
Install composer
Install postgres
Configuring the database
For Postgres 15 and newer here are additional steps:
Install nginx
Make sure you have the following in your ngnix.conf file
Disable apache
Restart ngnix
Copy and prepare the code
Clone the Web Client package from GitHub to /var/www/html
Go to /api
folder and run composer