updated README.md

This commit is contained in:
downhill 2018-10-23 16:46:57 +02:00
parent 260aa5e8f1
commit 955d894d64

View file

@ -10,8 +10,11 @@ a password reset is still WIP\.
=== Installation ===
In the requirements\.txt are the python modules it uses\. Install with a virtualenv with python3\.
Be aware that django-auth-ldap uses python-ldap and thus wants some system libraries\. Also, since it's using nameko, you should
provide a rabbitmq for it to use\.
Be aware that django-auth-ldap uses python-ldap and thus wants some system libraries\. On devuan, you should be okay with an
```
apt install gcc libpython3-dev libldap2-dev libsasl2-dev
```
Also, since it's using nameko, you should provide a rabbitmq for it to use\.
Also django-nameko has a typo and you should edit the $virtualenv/lib/python3.5/site-packages/django\_nameko/\_\_init\_\_\.py from
```
from rpc import
@ -21,7 +24,8 @@ to
from .rpc import
```
till it's fixed\.
Config options are in nameko\.conf and of course the dal/dal/settings\.py
Config options are in nameko\.conf, dal/djangoldap\.conf and of course the dal/dal/settings\.py
Examples what should be in there are in the \.conf\.example files
Don't forget to do python manage\.py makemigrations dal and then migrate
The standard settings there work fine with a LDAP server set up with the information on our wiki\. Except the manager password,
set that to what you choose\.