Benjamin Dauvergne
5dbf5387b8
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. |
||
---|---|---|
passerelle | ||
.gitignore | ||
LICENSE | ||
MANIFEST.in | ||
README | ||
config_example.py | ||
passerelle_manage.py | ||
requirements.txt | ||
setup.py |
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.