diff --git a/control b/control index 0ae1cd4..3bf09c5 100644 --- a/control +++ b/control @@ -9,12 +9,11 @@ X-Python-Version: current Package: mandaye-vincennes Architecture: all Depends: ${misc:Depends}, ${python:Depends}, - python-mandaye (>= 0.7), + python-mandaye (>= 0.8), python-beautifulsoup (>= 3.1), python-crypto (>= 2.6), python-lasso (>= 2.4.0), - gunicorn (>= 0.17), - python-psycopg2 -Recommends: postgresql + gunicorn (>= 0.17) +Recommends: postgresql, python-psycopg2, python-raven Description: Vincennes Mandaye project, modular reverse proxy to authentic diff --git a/dirs b/dirs new file mode 100644 index 0000000..309e863 --- /dev/null +++ b/dirs @@ -0,0 +1,3 @@ +etc/mandaye-vincennes +etc/mandaye-vincennes/sites-available +etc/mandaye-vincennes/sites-enabled diff --git a/local_config.py b/local_config.py index 6f8c49b..f5589cd 100644 --- a/local_config.py +++ b/local_config.py @@ -1,31 +1,3 @@ -import logging - -## Virtual hosts configuration -hosts = { - 'biblio.local:8000': [ - { - 'path': r'/', - 'target': 'http://biblio.vincennes.fr', - 'mapping': 'mandaye_vincennes.configs.biblio_vincennes.biblio_mapping', - }, - ], - 'espace-famille.local:8000': [ - { - 'path': r'/', - 'target': 'https://vincennes-noredirect.espace-famille.net', - 'mapping': 'mandaye_vincennes.configs.famille_vincennes.famille_mapping', - } - ], - - 'conservatoire.local:8000': [ - { - 'path': r'/', - 'target': 'https://extranet.duonet.fr', - 'mapping': 'mandaye_vincennes.configs.duonet_vincennes.duonet_mapping', - } - ], - } - ## SQL Backend config # http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html # rfc 1738 https://tools.ietf.org/html/rfc1738 @@ -34,13 +6,17 @@ db_url = 'postgresql://mandaye-vincennes@/mandaye_vincennes' ## Logging configuration debug = False -log_level = logging.INFO +# Configuration directory +config_root = '/etc/mandaye-vincennes/sites-enabled' # Static folder static_root = '/usr/share/mandaye-vincennes/static' # Data directory data_dir = '/var/lib/mandaye-vincennes/data' +# Raven Sentry configuration +raven_dsn = None + ## Email notification configuration email_notification = False smtp_host = 'localhost'