summaryrefslogtreecommitdiff
path: root/bin/web_prod.py
blob: 9f99d750bf44bc0fb160716a63fbc68d3df2134e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python
# coding: utf-8
import bottle
from ebus import webapp
from ebus.webapp.soup_plugin import SoupPlugin

if __name__ == "__main__":
    soup = SoupPlugin(url="postgresql:///ebus")
    webapp.app.install(soup)
    bottle.debug(False)

    bottle.run(webapp.app, host="0.0.0.0", port=8000, reloader=False)