Initial commit. New Pylons project.
[zzz-floof.git] / floof / config / deployment.ini_tmpl
1 #
2 # floof - 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:floof
19 full_stack = true
20 static_files = true
21
22 cache_dir = %(here)s/data
23 beaker.session.key = floof
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 = sqlite:///production.db
35
36 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
37 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
38 # execute malicious code after an exception is raised.
39 set debug = false
40
41
42 # Logging configuration
43 [loggers]
44 keys = root
45
46 [handlers]
47 keys = console
48
49 [formatters]
50 keys = generic
51
52 [logger_root]
53 level = INFO
54 handlers = console
55
56 [handler_console]
57 class = StreamHandler
58 args = (sys.stderr,)
59 level = NOTSET
60 formatter = generic
61
62 [formatter_generic]
63 format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s