diff --git a/Makefile b/Makefile index 70bee04..968beea 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ deps: sudo apt install slapd ldap-utils fixtures: + sudo cp examples/sindominio.* /etc/ldap/schema/ sudo ldapadd -Y EXTERNAL -H ldapi:// -f /etc/ldap/schema/misc.ldif sudo slapadd -n 1 -l examples/data.ldif diff --git a/README.md b/README.md index 4023e10..6a2e591 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,14 @@ Set up a testing environment: -``` -sudo apt install slapd ldap-utils -sudo cp examples/sindominio.* /etc/ldap/schema/ -sudo slapadd -Y EXTERNAL -H ldapi:// -f /etc/ldap/schema/sindominio.ldif -sudo slapadd -n 1 -l examples/data.ldif + +make deps +make fixtures` ``` Run it: ``` make all -./lowry -config examples/lowry.conf -``` +make demo + Now go to your browser, open http://localhost:8080 and you can login as: * Usuaria: user