Uniform access to data sources and services
Go to file
Benjamin Dauvergne 5dbf5387b8 New organization of settings
Only one setting is now available from the environment:
DJANGO_CONFIG_FILE, it gives a path to a Python that will be executed at
the end of the settings module.

For simpler usage this environment is set by passerelle_manage.py by
passing it a new mandatory option '--config=/path/to/config'.

Tenant settings are now activated by passing the '--multitenant' flag to
passerelle_manage.py.

All OS platform specific paths have been removed, it's expected that
packaging will add them. Debian for example would provide a
debian_config.py file to adapt to its own paths.
2014-10-02 09:54:39 +02:00
passerelle New organization of settings 2014-10-02 09:54:39 +02:00
.gitignore minimalistic homepage view 2013-02-15 14:48:13 +01:00
LICENSE this will be AGPL 2013-02-11 11:04:19 +01:00
MANIFEST.in include pastell static files 2014-09-18 14:08:51 +02:00
README New organization of settings 2014-10-02 09:54:39 +02:00
config_example.py New organization of settings 2014-10-02 09:54:39 +02:00
passerelle_manage.py New organization of settings 2014-10-02 09:54:39 +02:00
requirements.txt requirements: use django-jsonresponse 0.10 from pypi 2014-09-30 16:07:43 +02:00
setup.py mention new jsonfield dependency 2014-09-16 19:59:26 +02:00

README

Initializing the database
-------------------------

To create the database, execute the following line:

    ./passerelle_manage.py --config=config_example.py syncdb --migrate

The new database is created inside `passerelle.sqlite3` in the current directory.

Running
-------

The command line for starting is:

    ./passerelle_manage.py --config=config_example.py runserver

Passerelle is available on http://127.0.0.1:80000

Options
-------

    --config=/path/to/config.py

        Configuration file. MANDATORY.

   --multitenant

        Activate multi-tenant mode. The python-entrouvert package must be installed.