Système d'information du FAI Illyse

Rogdham 822b76acc2 Comply with PEP8 11 years ago
coin 822b76acc2 Comply with PEP8 11 years ago
custom 0e39555125 Modification configuration pour le backend d'authentification django-auth-ldap 11 years ago
ldapdb 035aa18aa5 Delete useless files (*.pyc *~ .svn) 11 years ago
.gitignore fe7bbf013c settings.py charge settings_local.py s'il existe. 11 years ago
README f5185e8cfc Add a link to the wiki 11 years ago
manage.py 8efe3fd1fb Add some default values 11 years ago
requirements.txt eb638e4a63 Add missing dependencies 11 years ago
test 1fc83bb3e1 Ajout de contenu utile au fichier "test". 11 years ago

README

The COIN project
================

`Coin` is Illyse's Information System, designed to managed subscribers.

It is written in Django, and makes an heavy use of LDAP (for
authentication, and to store configuration information).

It currently only works with python2, because `python-ldap` is (as of
2013) not compatible with python3.


Quickstart
==========

Get yourself a virtualenv. On Debian, install `python-virtualenv`. On
Archlinux, the package is called `python2-virtualenv`, and you must
replace the `virtualenv` command with `virtualenv2` in the following.

To create the virtualenv (the first time):

virtualenv ~/tmp/venv-illyse


To activate the virtualenv (you need to do this each time you work on
the project):

. ~/tmp/venv-illyse/bin/activate


Install dependencies. On Debian, you will probably need the
`python-dev`, `libldap-dev` and `libsasl2-dev` packages. Then run:

pip install -r requirements.txt


You should now be able to run `python manage.py` (within the
virtualenv, obviously) without error.


More information
================

For the rest of the setup (database, LDAP), see

https://www.illyse.org/projects/ils-si/wiki/Mise_en_place_environnement_de_dev