Archived
26 lines
910 B
Plaintext
26 lines
910 B
Plaintext
# Installation
|
|
|
|
apt-get install libldap2-dev python-dev libmysqlclient-dev libsasl2-dev libldap2-dev libssl-dev
|
|
virtualenv venv
|
|
. venv/bin/activate
|
|
pip install -r requirements.txt
|
|
cp userinfosite/settings-sample.py userinfosite/settings.py
|
|
python manage.py syncdb
|
|
# create the radius database tables, if they don't exist already
|
|
python manage.py syncdb --database=radius
|
|
python manage.py runserver
|
|
|
|
# Apache:
|
|
- Make a Vhost
|
|
- add WSGIScriptAlias / /path/to/project/neuf-userinfo/userinfosite/wsgi.py
|
|
|
|
# External dependencies:
|
|
- LDAP: Read the tutorial on [Howto setup a LDAP server with Docker](https://edb.neuf.no/wiki/index.php?title=Howto_setup_a_LDAP_server_with_Docker)
|
|
- Kerberos: TODO
|
|
- RADIUS: TODO
|
|
- Inside: Going away
|
|
|
|
|
|
# TODO
|
|
- finish auth backend.
|
|
- allow non LDAP-users (conditional LDAP-stuff), because we don't want LDAP filled with non-active members |