~loggerhead-team/loggerhead/trunk-rich

159.2.25 by Michael Hudson
put things closer to where they belong
1
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
2
from paste import httpserver
3
from paste.httpexceptions import make_middleware
4
from paste.translogger import make_filter
5
6
app = BranchesFromFileSystemRoot('.')
7
8
app = app
9
app = make_middleware(app)
10
app = make_filter(app, None)
11
159.2.34 by Michael Hudson
doh
12
#from paste.evalexception import EvalException
13
#app = EvalException(app)
159.2.25 by Michael Hudson
put things closer to where they belong
14
159.2.36 by Michael Hudson
more compatibility
15
httpserver.serve(app, host='0.0.0.0', port='9876')