]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/development.ini
Added functionality to show inns. Solved to problem that database connections were...
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
1 #
2 # wradmin - 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 # address which should receive any error reports
9 email_to = philipp.spitzer@winterrodeln.org
10 smtp_server = localhost
11 error_email_from = philipp.spitzer@winterrodeln.org
12
13 [server:main]
14 use = egg:Paste#http
15 host = 127.0.0.1
16 port = 5000
17
18 [app:main]
19 use = egg:wradmin
20 full_stack = true
21 static_files = true
22
23 cache_dir = %(here)s/data
24 beaker.session.key = wradmin
25 beaker.session.secret = somesecret
26
27 wikidbtype = mysql
28 wikidbserver = localhost
29 wikidbname = winterrodeln_wiki
30 wikidbuser = philipp
31 wikidbpassword =
32
33 authkit.setup.method = basic
34 authkit.basic.realm = Winterrodeln Admin
35 authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers
36 authkit.basic.authenticate.user.data = 
37
38 # If you'd like to fine-tune the individual locations of the cache data dirs
39 # for the Cache data, or the Session saves, un-comment the desired settings
40 # here:
41 #beaker.cache.data_dir = %(here)s/data/cache
42 #beaker.session.data_dir = %(here)s/data/sessions
43
44 # SQLAlchemy database URL
45 sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8
46 # necessary for mySQL databases
47 sqlalchemy.pool_recycle = 3600
48 # sqlalchemy.echo_pool = 1
49 # sqlalchemy.echo=true
50
51 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
52 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
53 # execute malicious code after an exception is raised.
54 #set debug = false
55
56
57 # Logging configuration
58 [loggers]
59 keys = root, routes, wradmin
60
61 [handlers]
62 keys = console, file
63
64 [formatters]
65 keys = generic
66
67 [logger_root]
68 level = INFO
69 # handlers = file
70 handlers = console
71
72 [logger_routes]
73 level = INFO
74 handlers =
75 qualname = routes.middleware
76 # "level = DEBUG" logs the route matched and routing variables.
77
78 [logger_wradmin]
79 level = DEBUG
80 handlers =
81 qualname = wradmin
82
83 [handler_console]
84 class = StreamHandler
85 args = (sys.stderr,)
86 level = NOTSET
87 formatter = generic
88
89 [handler_file]
90 class = FileHandler
91 args = ('/tmp/pylons_application.log', 'a')
92 level = INFO
93 formatter = generic
94
95 [formatter_generic]
96 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
97 datefmt = %H:%M:%S