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
6
app = BranchesFromFileSystemRoot('.')
9
app = make_middleware(app)
10
app = make_filter(app, None)
13
httpserver.serve(app, host='127.0.0.1', port='9876')