summaryrefslogtreecommitdiff
path: root/bin/web_dev.py
blob: c04c0714097169badcb1dc56026646bc36771152 (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", echo=True)
    webapp.app.install(soup)
    bottle.debug(True)

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