Mercurial > kallithea
annotate development.ini @ 47:f6ac79182600
Added rest controllers for repos and users,
templating changes + css fixes
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Wed, 07 Apr 2010 20:19:25 +0200 |
parents | 9db7782727b3 |
children | 3ada2f409c1c |
rev | line source |
---|---|
12 | 1 ################################################################################ |
2 ################################################################################ | |
3 # pylons_app - Pylons environment configuration # | |
4 # # | |
5 # The %(here)s variable will be replaced with the parent directory of this file# | |
6 ################################################################################ | |
10
525ed90e4577
major app speedup moved the wsgi creation to app globals, in order to make it run only once.
Marcin Kuzminski
parents:
5
diff
changeset
|
7 |
0 | 8 [DEFAULT] |
9 debug = true | |
12 | 10 ############################################ |
11 ## Uncomment and replace with the address ## | |
12 ## which should receive any error reports ## | |
13 ############################################ | |
14 | 14 #email_to = marcin.kuzminski@etelko.pl |
15 #smtp_server = mail.etelko.pl | |
16 #error_email_from = paste_error@localhost | |
17 #smtp_username = | |
18 #smtp_password = | |
19 #error_message = 'mercurial crash !' | |
0 | 20 |
21 [server:main] | |
22 use = egg:Paste#http | |
23 host = 127.0.0.1 | |
12 | 24 port = 5000 |
0 | 25 |
26 [app:main] | |
27 use = egg:pylons_app | |
28 full_stack = true | |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
17
diff
changeset
|
29 static_files = true |
0 | 30 lang=en |
31 cache_dir = %(here)s/data | |
41
71ffa932799d
Added app basic auth.
Marcin Kuzminski <marcin@python-blog.com>
parents:
20
diff
changeset
|
32 repos_name = etelko |
0 | 33 |
12 | 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 ################################################################################ | |
39 #set debug = false | |
0 | 40 |
12 | 41 ################################ |
42 ### LOGGING CONFIGURATION #### | |
43 ################################ | |
0 | 44 [loggers] |
12 | 45 keys = root, routes, pylons_app, sqlalchemy |
0 | 46 |
47 [handlers] | |
17
436bee78d81a
Litle code cleanups, This version handles repos correctly.
Marcin Kuzminski
parents:
15
diff
changeset
|
48 keys = console |
0 | 49 |
50 [formatters] | |
17
436bee78d81a
Litle code cleanups, This version handles repos correctly.
Marcin Kuzminski
parents:
15
diff
changeset
|
51 keys = generic |
0 | 52 |
12 | 53 ############# |
0 | 54 ## LOGGERS ## |
12 | 55 ############# |
0 | 56 [logger_root] |
15 | 57 level = NOTSET |
12 | 58 handlers = console |
0 | 59 |
60 [logger_routes] | |
12 | 61 level = INFO |
0 | 62 handlers = console |
63 qualname = routes.middleware | |
64 # "level = DEBUG" logs the route matched and routing variables. | |
65 | |
66 [logger_pylons_app] | |
67 level = DEBUG | |
12 | 68 handlers = console |
0 | 69 qualname = pylons_app |
70 | |
12 | 71 |
72 [logger_sqlalchemy] | |
73 level = DEBUG | |
74 handlers = console | |
75 qualname = sqlalchemy.engine | |
76 | |
77 ############## | |
0 | 78 ## HANDLERS ## |
12 | 79 ############## |
0 | 80 |
81 [handler_console] | |
82 class = StreamHandler | |
83 args = (sys.stderr,) | |
84 level = NOTSET | |
85 formatter = generic | |
86 | |
12 | 87 ################ |
0 | 88 ## FORMATTERS ## |
12 | 89 ################ |
0 | 90 |
91 [formatter_generic] | |
92 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |
46
9db7782727b3
Static files for production fixed
Marcin Kuzminski <marcin@python-blog.com>
parents:
41
diff
changeset
|
93 datefmt = %Y-%m-%d %H:%M:%S |
0 | 94 |