4
from paste import httpserver
5
from paste.httpexceptions import HTTPExceptionHandler
6
from paste.translogger import TransLogger
8
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
15
app = BranchesFromFileSystemRoot(path)
17
app = HTTPExceptionHandler(app)
18
app = TransLogger(app)
21
from paste.deploy.config import PrefixMiddleware
25
app = PrefixMiddleware(app)
27
#from paste.evalexception import EvalException
28
#app = EvalException(app)
30
httpserver.serve(app, host='0.0.0.0', port='8080')