This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
mandaye/mandaye/skel/example.module/default-config.ini

61 lines
1.4 KiB
INI

[DEFAULT]
base_dir: .
[database]
; use by sql backend
; http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html
url: sqlite:///%(base_dir)s/{project_name}.db
[ldap]
; use by ldap backend
url: ldap://127.0.0.1
bind_dn: cn=admin,dc=acompany,dc=org
bind_password: AdminPassword
base_dn: ou=mandaye,dc=acompany,dc=org
[dirs]
config_root: %(base_dir)s/conf.d
data_dir: %(base_dir)s/data
static_root: %(base_dir)s/{project_name}/static
static_url: /mandaye/static
templates_directories:
[debug]
debug: false
use_long_trace: true
log_debug: false
logger_name: {project_name}
; you need to install python-raven for this feature
sentry_dsn:
[mandaye]
toolbar: true
offline_toolbar: true
a2_auto_connection: false
; sql or ldap
storage_backend: sql
auto_decompress: true
; if you want to encypt password set to true
; you need to install pycrypto for this feature
encrypt_sp_password: false
; if encrypt_sp_password then you need to choose a secret
; must be a 16, 24, or 32 bytes long
encrypt_secret:
[session]
; file, dbm, memory or memcached
; if memcached you need to install python-memcached and memcached
type: memcached
url: 127.0.0.1:11211
cookie_expires: true
timeout: 3600
data_dir: %(base_dir)s/data
[email]
notification: false
prefix: [Mandaye-{project_name}]
smtp_host: localhost
smtp_port: 25
from: traceback@entrouvert.com
to: admin+mandaye-{project_name}@entrouvert.com