Avoid doing python setup.py sdist, use setup.py develop instead for tox
[larjonas-mediagoblin.git] / paste.ini
blobafd5982b04dbbf0ea073b0efaa5991e686681f38
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
10 pipeline = mediagoblin
12 [app:mediagoblin]
13 use = egg:mediagoblin#app
14 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
15 # static paths
16 /mgoblin_media = %(here)s/user_dev/media/public
17 /mgoblin_static = %(here)s/mediagoblin/static
18 /theme_static = %(here)s/user_dev/theme_static
19 /plugin_static = %(here)s/user_dev/plugin_static
21 [loggers]
22 keys = root
24 [handlers]
25 keys = console
27 [formatters]
28 keys = generic
30 [logger_root]
31 level = INFO
32 handlers = console
34 [handler_console]
35 class = StreamHandler
36 args = (sys.stderr,)
37 level = NOTSET
38 formatter = generic
40 [formatter_generic]
41 format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
43 [filter:errors]
44 use = egg:mediagoblin#errors
45 debug = false
48 ##############################
49 # Server configuration options
50 ##############################
52 # The server that is run by default.
53 # By default, should only be accessable locally
54 [server:main]
55 use = egg:gunicorn
56 host = 127.0.0.1
57 port = 6543
58 # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html
59 # for more information about configuring Gunicorn
60 proc_name = gmg
61 reload = true
62 accesslog = -
64 #######################
65 # Helper server configs
66 # ---------------------
67 # If you are configuring the paste config manually, you can remove
68 # these.
70 # Use this if you want to run on port 6543 and have MediaGoblin be
71 # viewable externally
72 [server:broadcast]
73 use = egg:Paste#http
74 host = 0.0.0.0
75 port = 6543
77 # Use this if you want to connect via fastcgi
78 [server:fcgi]
79 use = egg:flup#fcgi_fork
80 host = %(fcgi_host)s
81 port = %(fcgi_port)s
83 [server:http]
84 use = egg:Paste#http
85 host = %(http_host)s
86 port = %(http_port)s