Système d'information du FAI Illyse

Baptiste Jonglez eb638e4a63 Add missing dependencies il y a 11 ans
coin c12c354da7 Mise en conformité des champs en fonction du modèle définit en réunion il y a 11 ans
custom 0e39555125 Modification configuration pour le backend d'authentification django-auth-ldap il y a 11 ans
ldapdb 035aa18aa5 Delete useless files (*.pyc *~ .svn) il y a 11 ans
.gitignore fe7bbf013c settings.py charge settings_local.py s'il existe. il y a 11 ans
README 43cebde10a Add a README with basic installation instructions il y a 11 ans
manage.py 27757cedd7 First push il y a 11 ans
requirements.txt eb638e4a63 Add missing dependencies il y a 11 ans
test 1fc83bb3e1 Ajout de contenu utile au fichier "test". il y a 11 ans

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.


Installation
============

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.