Adding query property to DatabaseMaster for forward compatibility
[larjonas-mediagoblin.git] / paste.ini
blob68fd9dea43c889ec256b29536368902a8e1ddb99
1 # If you want to make changes to this file, first copy it to
2 # paste_local.ini, then make the changes there.
4 [DEFAULT]
5 # Set to true to enable web-based debugging messages and etc.
6 debug = false
8 [pipeline:main]
9 pipeline = errors mediagoblin
11 [app:mediagoblin]
12 use = egg:mediagoblin#app
13 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
14 # static paths
15 /mgoblin_media = %(here)s/user_dev/media/public
16 /mgoblin_static = %(here)s/mediagoblin/static
17 /theme_static = %(here)s/user_dev/theme_static
18 /plugin_static = %(here)s/user_dev/plugin_static
20 [loggers]
21 keys = root
23 [handlers]
24 keys = console
26 [formatters]
27 keys = generic
29 [logger_root]
30 level = INFO
31 handlers = console
33 [handler_console]
34 class = StreamHandler
35 args = (sys.stderr,)
36 level = NOTSET
37 formatter = generic
39 [formatter_generic]
40 format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
42 [filter:errors]
43 use = egg:mediagoblin#errors
44 debug = false
47 ##############################
48 # Server configuration options
49 ##############################
51 # The server that is run by default.
52 # By default, should only be accessable locally
53 [server:main]
54 use = egg:mediagoblin#paste_server_selector
55 host = 127.0.0.1
56 port = 6543
57 # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html
58 # for more information about configuring Gunicorn
59 proc_name = gmg
60 reload = true
61 accesslog = -
63 #######################
64 # Helper server configs
65 # ---------------------
66 # If you are configuring the paste config manually, you can remove
67 # these.
69 # Use this if you want to run on port 6543 and have MediaGoblin be
70 # viewable externally
71 [server:broadcast]
72 use = egg:Paste#http
73 host = 0.0.0.0
74 port = 6543
76 # Use this if you want to connect via fastcgi
77 [server:fcgi]
78 use = egg:flup#fcgi_fork
79 host = %(fcgi_host)s
80 port = %(fcgi_port)s
82 [server:http]
83 use = egg:Paste#http
84 host = %(http_host)s
85 port = %(http_port)s