]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/wradmin/config/deployment.ini_tmpl
8fd5e050f02906c4541369c961c3660d7184100e
[philipp/winterrodeln/wradmin.git] / wradmin / wradmin / config / deployment.ini_tmpl
1 #
2 # wradmin - Pylons configuration
3 #
4 # The %(here)s variable will be replaced with the parent directory of this file
5 #
6 [DEFAULT]
7 debug = true
8 email_to = you@yourdomain.com
9 smtp_server = localhost
10 error_email_from = paste@localhost
11
12 [server:main]
13 use = egg:Paste#http
14 host = 0.0.0.0
15 port = 5000
16
17 [app:main]
18 use = egg:wradmin
19 full_stack = true
20 static_files = true
21
22 cache_dir = %(here)s/data
23 beaker.session.key = wradmin
24 beaker.session.secret = ${app_instance_secret}
25 app_instance_uuid = ${app_instance_uuid}
26
27 authkit.setup.method = basic
28 authkit.basic.realm = Winterrodeln Admin
29 authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers
30 authkit.basic.authenticate.user.data = 
31
32 # If you'd like to fine-tune the individual locations of the cache data dirs
33 # for the Cache data, or the Session saves, un-comment the desired settings
34 # here:
35 #beaker.cache.data_dir = %(here)s/data/cache
36 #beaker.session.data_dir = %(here)s/data/sessions
37
38 # SQLAlchemy database URL
39 sqlalchemy.url = mysql://user@localhost:3306/winterrodeln_wiki?charset=utf8
40 # necessary for mySQL databases
41 sqlalchemy.pool_recycle = 3600
42
43 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
44 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
45 # execute malicious code after an exception is raised.
46 set debug = false
47
48
49 # Logging configuration
50 [loggers]
51 keys = root
52
53 [handlers]
54 keys = console
55
56 [formatters]
57 keys = generic
58
59 [logger_root]
60 level = INFO
61 handlers = console
62
63 [handler_console]
64 class = StreamHandler
65 args = (sys.stderr,)
66 level = NOTSET
67 formatter = generic
68
69 [formatter_generic]
70 format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s