5
from paste import httpserver
6
from paste.httpexceptions import HTTPExceptionHandler
7
from paste.translogger import TransLogger
9
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
13
logging.getLogger().setLevel(logging.DEBUG)
20
app = BranchesFromFileSystemRoot(path)
22
app = HTTPExceptionHandler(app)
23
app = TransLogger(app)
26
from paste.deploy.config import PrefixMiddleware
30
app = PrefixMiddleware(app)
32
#from paste.evalexception import EvalException
33
#app = EvalException(app)
35
httpserver.serve(app, host='0.0.0.0', port='8080')