~loggerhead-team/loggerhead/trunk-rich

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
from paste import httpserver
from paste.httpexceptions import make_middleware
from paste.translogger import make_filter

app = BranchesFromFileSystemRoot('.')

app = app
app = make_middleware(app)
app = make_filter(app, None)

#from paste.evalexception import EvalException
#app = EvalException(app)

httpserver.serve(app, host='0.0.0.0', port='9876')