]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/config/deployment.ini_tmpl
Merge branch 'master' into fix-authz
[bluechips.git] / bluechips / config / deployment.ini_tmpl
1 #
2 # BlueChips - 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:BlueChips
19 full_stack = true
20 cache_dir = %(here)s/data
21 beaker.session.key = bluechips
22 beaker.session.secret = ${app_instance_secret}
23 app_instance_uuid = ${app_instance_uuid}
24
25 # If you'd like to fine-tune the individual locations of the cache data dirs
26 # for the Cache data, or the Session saves, un-comment the desired settings
27 # here:
28 #beaker.cache.data_dir = %(here)s/data/cache
29 #beaker.session.data_dir = %(here)s/data/sessions
30
31 # SQLAlchemy database URL
32 sqlalchemy.url = sqlite:///production.db
33 sqlalchemy.echo = False
34
35 # If you're using MySQL, uncomment this line to avoid the "MySQL
36 # server has gone away" error
37 #sqlalchemy.pool_recycle = 3600
38
39 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
40 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
41 # execute malicious code after an exception is raised.
42 set debug = false
43
44
45 # Logging configuration
46 [loggers]
47 keys = root
48
49 [handlers]
50 keys = console
51
52 [formatters]
53 keys = generic
54
55 [logger_root]
56 level = INFO
57 handlers = console
58
59 [handler_console]
60 class = StreamHandler
61 args = (sys.stderr,)
62 level = NOTSET
63 formatter = generic
64
65 [formatter_generic]
66 format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s