Loading README.md +13 −0 Original line number Diff line number Diff line Loading @@ -80,3 +80,16 @@ git clone https://gitlab.cl.uni-heidelberg.de/Fachschaft/portal.git cd portal sudo docker compose -f docker-compose.dev.yml up ``` ## Configure ### LDAP server To use the CL account login feature, you need to configure an `LdapDirectory`. Within a Flask shell, execute the following: ```python >>> l = LdapDirectory(url="ldaps://ldap2.cl.uni-heidelberg.de", base_dn="ou=accounts,dc=cl,dc=uni-heidelberg,dc=de") >>> db.session.add(l) >>> db.session.commit() >>> exit() ``` Loading
README.md +13 −0 Original line number Diff line number Diff line Loading @@ -80,3 +80,16 @@ git clone https://gitlab.cl.uni-heidelberg.de/Fachschaft/portal.git cd portal sudo docker compose -f docker-compose.dev.yml up ``` ## Configure ### LDAP server To use the CL account login feature, you need to configure an `LdapDirectory`. Within a Flask shell, execute the following: ```python >>> l = LdapDirectory(url="ldaps://ldap2.cl.uni-heidelberg.de", base_dn="ou=accounts,dc=cl,dc=uni-heidelberg,dc=de") >>> db.session.add(l) >>> db.session.commit() >>> exit() ```