Go to file
Benjamin Bohard 84850182f6 Activation de l’extension hstore 2019-12-09 16:22:13 +01:00
messages/v1 Test d’un service utilisant une base de données. 2019-12-09 14:28:13 +01:00
script better config integration 2019-12-02 10:29:40 +01:00
src/risotto Test d’un service utilisant une base de données. 2019-12-09 14:28:13 +01:00
templates/1 add 'template' services 2019-12-02 14:22:40 +01:00
tests add session tests 2019-12-07 16:21:20 +01:00
.gitignore first commit 2019-11-28 14:50:53 +01:00
README.md Activation de l’extension hstore 2019-12-09 16:22:13 +01:00
Vocabulary.txt Vocabulary 2019-12-02 10:45:07 +01:00

README.md

Projet Risotto

Démarrer le server de l'API Risotto :

python3 script/server.py

Accéder à un message :

wget http://localhost:8080/v1/config.session.server.start

Démarrer un serveur LemonLDAP de test

docker pull coudot/lemonldap-ng
echo "127.0.0.1 auth.example.com manager.example.com test1.example.com test2.example.com" >> /etc/hosts
docker run -d --add-host reload.example.com:127.0.0.1 -p 80:80 coudot/lemonldap-ng

Démarrer un serveur postgresql de test

podman pull docker.io/library/postgres:11-alpine
podman run -dt -p 5432:5432 postgres:11-alpine

psql -U postgres -h localhost -c "CREATE ROLE risotto WITH LOGIN PASSWORD 'risotto';"
psql -U postgres -h localhost -c "CREATE DATABASE risotto;"
psql -U postgres -h localhost -c "GRANT ALL ON DATABASE risotto TO risotto;"
psql -U postgres -h localhost -c "CREATE EXTENSION hstore;"