add lemonldap procedure for tests in readme

This commit is contained in:
Matthieu Lamalle 2019-11-28 16:30:50 +01:00
parent 66600874b7
commit 1d1b51d37b
1 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,9 @@
Projet Risotto*
Projet Risotto
==============
Démarrer le server de l'API Risotto :
```
python3 script/server.py
python3 script/server.py
```
Accéder à un message :
@ -11,3 +11,10 @@ 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
```