Commit session after alembic updates have finished
[mediagoblin.git] / paste.ini
... / ...
CommitLineData
1# If you want to make changes to this file, first copy it to
2# paste_local.ini, then make the changes there.
3
4[DEFAULT]
5# Set to true to enable web-based debugging messages and etc.
6debug = false
7
8[pipeline:main]
9# pipeline = errors mediagoblin
10pipeline = mediagoblin
11
12[app:mediagoblin]
13use = egg:mediagoblin#app
14config = %(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
20
21[loggers]
22keys = root
23
24[handlers]
25keys = console
26
27[formatters]
28keys = generic
29
30[logger_root]
31level = INFO
32handlers = console
33
34[handler_console]
35class = StreamHandler
36args = (sys.stderr,)
37level = NOTSET
38formatter = generic
39
40[formatter_generic]
41format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
42
43[filter:errors]
44use = egg:mediagoblin#errors
45debug = false
46
47
48##############################
49# Server configuration options
50##############################
51
52# The server that is run by default.
53# By default, should only be accessable locally
54[server:main]
55use = egg:waitress#main
56host = 127.0.0.1
57port = 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 = -
63
64#######################
65# Helper server configs
66# ---------------------
67# If you are configuring the paste config manually, you can remove
68# these.
69
70# Use this if you want to run on port 6543 and have MediaGoblin be
71# viewable externally
72[server:broadcast]
73use = egg:waitress#main
74host = 0.0.0.0
75port = 6543
76
77# Use this if you want to connect via fastcgi
78[server:fcgi]
79use = egg:flup#fcgi_fork
80host = %(fcgi_host)s
81port = %(fcgi_port)s
82
83[server:http]
84use = egg:waitress#main
85host = %(http_host)s
86port = %(http_port)s