]> ToastFreeware Gitweb - philipp/winterrodeln/wrfeed.git/blob - wrfeed/config/deployment.ini_tmpl
Added comment for region processing.
[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=1
35 # sqlalchemy.url = sqlite:///production.db
36
37 # necessary for mySQL databases
38 sqlalchemy.pool_recycle = 3600
39
40 # maximum number of feed entries
41 feedentrylimit = 150
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] [%(threadName)s] %(message)s