]> asedeno.scripts.mit.edu Git - bluechips.git/blob - development.ini
Store splits as straight currency instead of percentages
[bluechips.git] / development.ini
1 #
2 # BlueChips - Pylons development environment configuration
3 #
4 # The %(here)s variable will be replaced with the parent directory of this file
5 #
6 [DEFAULT]
7 debug = true
8 # Uncomment and replace with the address which should receive any error reports
9 #email_to = you@yourdomain.com
10 smtp_server = localhost
11 error_email_from = paste@localhost
12
13 [server:main]
14 use = egg:Paste#http
15 host = 0.0.0.0
16 port = 5000
17
18 [app:main]
19 use = egg:BlueChips
20 full_stack = true
21 cache_dir = %(here)s/data
22 beaker.session.key = bluechips
23 beaker.session.secret = somesecret
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 = mysql://bluechips:CyRijoliawEc@localhost/bluechips
33
34 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
35 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
36 # execute malicious code after an exception is raised.
37 #set debug = false
38
39
40 # Logging configuration
41 [loggers]
42 keys = root, bluechips, sqlalchemy
43
44 [handlers]
45 keys = console
46
47 [formatters]
48 keys = generic
49
50 [logger_root]
51 level = INFO
52 handlers = console
53
54 [logger_bluechips]
55 level = DEBUG
56 handlers =
57 qualname = bluechips
58
59 [logger_sqlalchemy]
60 level = INFO
61 handlers =
62 qualname = sqlalchemy.engine
63 # "level = INFO" logs SQL queries.
64 # "level = DEBUG" logs SQL queries and results.
65 # "level = WARN" logs neither.  (Recommended for production systems.)
66
67 [handler_console]
68 class = StreamHandler
69 args = (sys.stderr,)
70 level = NOTSET
71 formatter = generic
72
73 [formatter_generic]
74 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
75 datefmt = %H:%M:%S