INSTALL 292 Bytes
Newer Older
Stéphane Crozat's avatar
Stéphane Crozat committed
1
# PostgreSQL
2

Stéphane Crozat's avatar
Stéphane Crozat committed
3 4
## Create user and db
sudo su postgres
5
sql/db_init.sh sql (give access to postgres user, and password first)
Stéphane Crozat's avatar
Stéphane Crozat committed
6 7

## Test
8
psql -h localhost -U apisub -d apisub
Stephane Crozat's avatar
Stephane Crozat committed
9 10

# PHP
Stéphane Crozat's avatar
Stéphane Crozat committed
11 12 13 14

## Install

apt install php-pgsql
Stephane Crozat's avatar
Stephane Crozat committed
15
apt install php-xml
Stéphane Crozat's avatar
Stéphane Crozat committed
16 17 18

## Connexion
cp lib/connexion-sample.php lib/connexion.php