]> ToastFreeware Gitweb - philipp/winterrodeln/wrfeed.git/blob - wrfeed/config/deployment.ini_tmpl
0c0bbd7c30dcfd2387414fa73a54b9ae634a3e57
[philipp/winterrodeln/wrfeed.git] / wrfeed / config / deployment.ini_tmpl
1 #
2 # wrfeed - 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 = 127.0.0.1
15 port = 5000
16
17 [app:main]
18 use = egg:wrfeed
19 full_stack = true
20 static_files = true
21
22 cache_dir = %(here)s/data
23 beaker.session.key = wrfeed
24 beaker.session.secret = ${app_instance_secret}
25 app_instance_uuid = ${app_instance_uuid}
26
27 # If you'd like to fine-tune the individual locations of the cache data dirs
28 # for the Cache data, or the Session saves, un-comment the desired settings
29 # here:
30 #beaker.cache.data_dir = %(here)s/data/cache
31 #beaker.session.data_dir = %(here)s/data/sessions
32
33 # SQLAlchemy database URL
34 sqlalchemy.url = mysql://user@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0
35 # sqlalchemy.url = sqlite:///production.db
36
37 # necessary for mySQL databases
38 sqlalchemy.pool_recycle = 3600
39
40 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
41 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
42 # execute malicious code after an exception is raised.
43 set debug = false
44
45
46 # Logging configuration
47 [loggers]
48 keys = root
49
50 [handlers]
51 keys = console
52
53 [formatters]
54 keys = generic
55
56 [logger_root]
57 level = INFO
58 handlers = console
59
60 [handler_console]
61 class = StreamHandler
62 args = (sys.stderr,)
63 level = NOTSET
64 formatter = generic
65
66 [formatter_generic]
67 format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s