docs: Document video resolution config.
[mediagoblin.git] / paste.ini
CommitLineData
daed11b8
E
1# If you want to make changes to this file, first copy it to
2# paste_local.ini, then make the changes there.
3
3a69a5dc 4[DEFAULT]
72ae87af
CAW
5# Set to true to enable web-based debugging messages and etc.
6debug = false
3a69a5dc 7
72ae87af 8[pipeline:main]
d61778a4
CAW
9# pipeline = errors mediagoblin
10pipeline = mediagoblin
3a69a5dc
CAW
11
12[app:mediagoblin]
13use = egg:mediagoblin#app
91903aa6 14config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
19baab1b
BP
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
3a69a5dc 20
7cbbf3e7
E
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
72ae87af
CAW
43[filter:errors]
44use = egg:mediagoblin#errors
45debug = false
46
505310c2
CAW
47
48##############################
49# Server configuration options
50##############################
51
52# The server that is run by default.
53# By default, should only be accessable locally
54e219fe 54[server:main]
d61778a4 55use = egg:waitress#main
54e219fe
CAW
56host = 127.0.0.1
57port = 6543
d61778a4
CAW
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 = -
f3c1b6ff
BP
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]
d61778a4 73use = egg:waitress#main
f3c1b6ff
BP
74host = 0.0.0.0
75port = 6543
76
f3c1b6ff 77[server:http]
d61778a4 78use = egg:waitress#main
f3c1b6ff
BP
79host = %(http_host)s
80port = %(http_port)s