From 20d86da33ded1463ca5bd48dcdf17189a6c08958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Thu, 19 Jun 2014 17:07:04 +0200 Subject: [PATCH] settings.ini: we need to use a full conf --- debian/settings.ini | 56 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/debian/settings.ini b/debian/settings.ini index 641bb00..bc57993 100644 --- a/debian/settings.ini +++ b/debian/settings.ini @@ -1,16 +1,54 @@ -[wcsinstd] -url_template: http://%%(domain)s-site.entrouvert.org/ - -[secrets] -# CHANGE this secrets -secret_key: random-string-of-ascii -csrf_secret: random-string-of-ascii +[dirs] +template_dirs: /var/lib/wcsinstd/templates +media_root: /var/lib/wcsinstd/media +static_root: /var/lib/wcsinstd/static +static_dirs: [database] engine: django.db.backends.sqlite3 -name: /var/lib/wcsinstd/wcsinst.sqlite3 +name: /var/lib/wcsinstd/wcsinst.sqlite3 +host: +port: +user: +password: +[wcsinstd] +url_template: http://%%(domain)s-site.entrouvert.org/ +wcs_app_dir: /var/lib/wcs-au-quotidien/ +wcsctl_script: wcsctl -f /etc/wcs/wcs-au-quotidien.cfg + +[cache] +memcached: false + +[secrets] +secret_key: random-string-of-ascii +csrf_secret: random-string-of-ascii + +# all settings in debug section should be false in production +# INTERNAL_IPS should be empty in productive environment [debug] general: false template: false -sentry_dsn: +toolbar: false +internal_ips: 127.0.0.1 +sentry_dsn: + +[email] +server_email: wcsinstd +default_from_email: wcsinstd +subject_prefix: [wcsinstd] +host: localhost +port: 25 +use_tls: no +user: +password: + +# the [admins] and [managers] sections are special. Just add lines with +# full name: email_address@domain.xx +# each section must be present but may be empty. +[admins] +#Entr'ouvert: admin+wcsinstd@entrouvert.com + +[managers] +#Entr'ouvert: admin+wcsinstd@entrouvert.com +