Gnuviech admin end user and administration web frontend
Find a file
Jan Dittberner d5e1128ff6 allow only one mailbox for a mailaddress
- add migration to place a unique constraint on MailAddressMailbox.mailaddress
  and drop existing primary_key
- change managemails.models.MailAddressMailbox.mailaddress to OneToOneField
2014-05-24 20:57:17 +02:00
docs auto generated project 2014-05-18 00:07:32 +02:00
gnuviechadmin allow only one mailbox for a mailaddress 2014-05-24 20:57:17 +02:00
requirements add separate models for mail addresses, domains and mailboxes 2014-05-19 22:28:25 +02:00
.gitignore add first tests, add .coveragerc, ignore coverage files 2014-05-24 13:38:08 +02:00
CONTRIBUTORS.txt auto generated project 2014-05-18 00:07:32 +02:00
LICENSE.txt auto generated project 2014-05-18 00:07:32 +02:00
README.rst auto generated project 2014-05-18 00:07:32 +02:00
requirements.txt auto generated project 2014-05-18 00:07:32 +02:00

gnuviechadmin

Customer center for gnuviech servers.

To use this project follow these steps:

  1. Create your working environment
  2. Install Django
  3. Create the new project using the django-two-scoops template
  4. Install additional dependencies
  5. 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