No description
Find a file
Jan Dittberner 1575725bcb add celery tasks
- add celery application code in gvaldap.celery
- add osusers app to mimic the osusers code in the main gnuviechadmin code
- add celery configuration settings to gvaldap.settings.base
- add osusers.models.Group and osusers.models.User
- add osusers.tasks.create_ldap_group and osusers.tasks.create_ldap_user
- add billiard, kombu and pytz to requirements/base.txt
2014-05-30 12:12:21 +02:00
docs initial project based on twoscoops template 2014-05-29 23:57:19 +02:00
gvaldap add celery tasks 2014-05-30 12:12:21 +02:00
requirements add celery tasks 2014-05-30 12:12:21 +02:00
.gitignore initial project based on twoscoops template 2014-05-29 23:57:19 +02:00
CONTRIBUTORS.txt initial project based on twoscoops template 2014-05-29 23:57:19 +02:00
LICENSE.txt initial project based on twoscoops template 2014-05-29 23:57:19 +02:00
README.rst initial project based on twoscoops template 2014-05-29 23:57:19 +02:00
requirements.txt initial project based on twoscoops template 2014-05-29 23:57:19 +02:00

gvaldap

This is the GNUViech Admin LDAP administration tool project.

Working Environment

You have several options in setting up your working environment. We recommend using virtualenv to separate the dependencies of your project from your system's python environment. If on Linux or Mac OS X, you can also use virtualenvwrapper to help manage multiple virtualenvs across different projects.

Virtualenv Only

First, make sure you are using virtualenv (http://www.virtualenv.org). Once that's installed, create your virtualenv:

$ virtualenv --distribute gvaldap

You will also need to ensure that the virtualenv has the project directory added to the path. Adding the project directory will allow django-admin.py to be able to change settings using the --settings flag.

Virtualenv with virtualenvwrapper

In Linux and Mac OSX, you can install virtualenvwrapper (http://virtualenvwrapper.readthedocs.org/en/latest/), which will take care of managing your virtual environments and adding the project path to the site-directory for you:

$ mkdir gvaldap
$ mkvirtualenv -a gvaldap gvaldap-dev
$ cd gvaldap && add2virtualenv `pwd`

Installation of Dependencies

Depending on where you are installing dependencies:

In development:

$ pip install -r requirements/local.txt

For production:

$ pip install -r requirements.txt