wcsinst: add default settings

Refs #4956
This commit is contained in:
Jérôme Schneider 2014-06-19 15:46:03 +02:00
parent 3d53199c26
commit 5e4acd4d1b
1 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,57 @@
[DEFAULT]
base_dir: .
[dirs]
template_dirs: /var/lib/wcsinstd/templates %(base_dir)s/templates
media_root: /var/lib/wcsinstd/media %(base_dir)s/media
static_root: /var/lib/wcsinstd/static %(base_dir)s/static
static_dirs:
[database]
engine: django.db.backends.sqlite3
name: %(base_dir)s/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
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