~loggerhead-team/loggerhead/trunk-rich

1
2
3
4
5
6
7
8
9
10
11
from loggerhead.history import History
from loggerhead.wsgiapp import BranchWSGIApp

h = History.from_folder('.')

app = BranchWSGIApp(h)


from paste import httpserver
httpserver.serve(app.app, host='127.0.0.1', port='9876')