Remove beaker stuff from the code.
[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
CAW
8[pipeline:main]
9pipeline = errors routing
10
11[composite:routing]
3a69a5dc
CAW
12use = egg:Paste#urlmap
13/ = mediagoblin
14/mgoblin_media/ = publicstore_serve
582c4d5f 15/mgoblin_static/ = mediagoblin_static
71eb4577 16/theme_static/ = theme_static
3a69a5dc
CAW
17
18[app:mediagoblin]
19use = egg:mediagoblin#app
9e1fa239 20# filter-with = beaker
91903aa6 21config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
3a69a5dc 22
7cbbf3e7
E
23[loggers]
24keys = root
25
26[handlers]
27keys = console
28
29[formatters]
30keys = generic
31
32[logger_root]
33level = INFO
34handlers = console
35
36[handler_console]
37class = StreamHandler
38args = (sys.stderr,)
39level = NOTSET
40formatter = generic
41
42[formatter_generic]
43format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
44
3a69a5dc
CAW
45[app:publicstore_serve]
46use = egg:Paste#static
3f5cf663 47document_root = %(here)s/user_dev/media/public/
6347605c 48cache_max_age = 604800
3a69a5dc 49
582c4d5f
CAW
50[app:mediagoblin_static]
51use = egg:Paste#static
52document_root = %(here)s/mediagoblin/static/
6347605c 53cache_max_age = 86400
582c4d5f 54
71eb4577
CAW
55[app:theme_static]
56use = egg:Paste#static
57document_root = %(here)s/user_dev/theme_static/
58cache_max_age = 86400
59
3a69a5dc
CAW
60[filter:beaker]
61use = egg:Beaker#beaker_session
62cache_dir = %(here)s/user_dev/beaker
63beaker.session.key = mediagoblin
64# beaker.session.secret = somesupersecret
65beaker.session.data_dir = %(here)s/user_dev/beaker/sessions/data
66beaker.session.lock_dir = %(here)s/user_dev/beaker/sessions/lock
54e219fe 67
72ae87af
CAW
68[filter:errors]
69use = egg:mediagoblin#errors
70debug = false
71
505310c2
CAW
72
73##############################
74# Server configuration options
75##############################
76
77# The server that is run by default.
78# By default, should only be accessable locally
54e219fe
CAW
79[server:main]
80use = egg:Paste#http
81host = 127.0.0.1
82port = 6543
4b186b73 83
505310c2
CAW
84#######################
85# Helper server configs
86# ---------------------
87# If you are configuring the paste config manually, you can remove
88# these.
89
90# Use this if you want to run on port 6543 and have MediaGoblin be
91# viewable externally
92[server:broadcast]
93use = egg:Paste#http
94host = 0.0.0.0
95port = 6543
96
97# Use this if you want to connect via fastcgi
4b186b73 98[server:fcgi]
00aca685 99use = egg:flup#fcgi_fork
6b7779ea
CAW
100host = %(fcgi_host)s
101port = %(fcgi_port)s
102
103[server:http]
104use = egg:Paste#http
105host = %(http_host)s
106port = %(http_port)s