]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/config/deployment.ini_tmpl
Store splits as straight currency instead of percentages
[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 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
36 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
37 # execute malicious code after an exception is raised.
38 set debug = false
39
40
41 # Logging configuration
42 [loggers]
43 keys = root
44
45 [handlers]
46 keys = console
47
48 [formatters]
49 keys = generic
50
51 [logger_root]
52 level = INFO
53 handlers = console
54
55 [handler_console]
56 class = StreamHandler
57 args = (sys.stderr,)
58 level = NOTSET
59 formatter = generic
60
61 [formatter_generic]
62 format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s