Jan Dittberner
0ef151f780
* release/0.4.0: (25 commits) define version number, update changelog set database password at the appropriate place remove username argument from delete_pgsql_database call remove username argument of pgsqltasks.tasks.delete_pgsql_database fix documentation issues add autogenerated documentation for module members make userdbs admin work properly add initial migration for userdbs add admin and a bit of documentation add new incomplete userdbs app document addition of mysqltasks and pgsqltasks add mysqltasks and pgsqltasks with placeholders for the real tasks set default locale to en-us to avoid translated migrations add migration for verbose_name and verbose_name_plural in osusers.models.User switch to gvacommon.celeryrouters.GvaRouter unify routers, add support for mysql and pgsql tasks use taskresults app and delete_ldap_group task add taskresults app to handle celery task results add new task delete_ldap_group define celery timezone, restrict celery content to json ... |
||
---|---|---|
docs | ||
gnuviechadmin | ||
requirements | ||
.gitignore | ||
CONTRIBUTORS.txt | ||
LICENSE.txt | ||
README.rst | ||
requirements.txt |
gnuviechadmin
Customer center for gnuviech servers.
To use this project follow these steps:
- Create your working environment
- Install Django
- Create the new project using the django-two-scoops template
- Install additional dependencies
- Use the Django admin to create the 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 gnuviechadmin
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 gnuviechadmin
$ mkvirtualenv -a gnuviechadmin gnuviechadmin-dev
$ cd gnuviechadmin && 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