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