summaryrefslogtreecommitdiff
path: root/bin/web_dev.py
blob: 7dd5d87a0a7577773732452dcc7bfe746a880abc (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:ebus@10.2.2.26:5432/ebus")
    webapp.app.install(soup)
    bottle.debug(True)

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