1
|
[DEFAULT]
|
2
|
base_dir: .
|
3
|
|
4
|
[database]
|
5
|
; use by sql backend
|
6
|
; http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html
|
7
|
url: sqlite:///%(base_dir)s/{project_name}.db
|
8
|
|
9
|
[ldap]
|
10
|
; use by ldap backend
|
11
|
url: ldap://127.0.0.1
|
12
|
bind_dn: cn=admin,dc=acompany,dc=org
|
13
|
bind_password: AdminPassword
|
14
|
base_dn: ou=mandaye,dc=acompany,dc=org
|
15
|
|
16
|
[dirs]
|
17
|
config_root: %(base_dir)s/conf.d
|
18
|
data_dir: %(base_dir)s/data
|
19
|
static_root: %(base_dir)s/{project_name}/static
|
20
|
static_url: /mandaye/static
|
21
|
templates_directories:
|
22
|
|
23
|
[debug]
|
24
|
debug: false
|
25
|
use_long_trace: true
|
26
|
log_debug: false
|
27
|
logger_name: {project_name}
|
28
|
; you need to install python-raven for this feature
|
29
|
sentry_dsn:
|
30
|
|
31
|
[mandaye]
|
32
|
toolbar: true
|
33
|
offline_toolbar: true
|
34
|
a2_auto_connection: false
|
35
|
; sql or ldap
|
36
|
storage_backend: sql
|
37
|
auto_decompress: true
|
38
|
; if you want to encypt password set to true
|
39
|
; you need to install pycrypto for this feature
|
40
|
encrypt_sp_password: false
|
41
|
; if encrypt_sp_password then you need to choose a secret
|
42
|
; must be a 16, 24, or 32 bytes long
|
43
|
encrypt_secret:
|
44
|
|
45
|
[session]
|
46
|
; file, dbm, memory or memcached
|
47
|
; if memcached you need to install python-memcached and memcached
|
48
|
type: memcached
|
49
|
url: 127.0.0.1:11211
|
50
|
cookie_expires: true
|
51
|
timeout: 3600
|
52
|
data_dir: %(base_dir)s/data
|
53
|
|
54
|
[email]
|
55
|
notification: false
|
56
|
prefix: [Mandaye-{project_name}]
|
57
|
smtp_host: localhost
|
58
|
smtp_port: 25
|
59
|
from: traceback@entrouvert.com
|
60
|
to: admin+mandaye-{project_name}@entrouvert.com
|