summaryrefslogtreecommitdiff
path: root/bin/web_prod.py
blob: 7d011064baf1d6265be6cd92f6a2b9e8695e9b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/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)