Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Install PHP7.4

It’s crucial to install 7.4, not 8.x

Configure php.ini

Directory in which the loadable extensions reside uncommented

; On windows:
extension_dir =”<path>/ext”

Make sure that the following extensions are uncommented

  • extension=curl

  • extension=mbstring

  • extension=openssl

  • extension=php_pdo_pgsql.dll

Download cacert.pem certificate and add path under below

  • curl.cainfo

Install Postgres for Windows

Configuring the database in CMD

psql -U postgres
postgres=# create database webclient;
postgres=# create user webclient;
postgres=# alter user webclient with encrypted password 'webclient'
postgres-# grant all privileges on database webclient to webclient

Copy and prepare the code

Copy the package to /var/www/html

Prepare 4 config files and copy them to /api/conf.d folder:

  1. firebase.php

  2. config.js

  3. config.php

  4. admin_channel.json

Initialize the database

Open this URL in your browser window

http://your_server_ip:port/api/v1/db/update

It should show something like this in the browser:

  • No labels