From 75017423563a18986aa096566d8a2969c32c3588 Mon Sep 17 00:00:00 2001 From: yvesf Date: Sun, 24 Jul 2011 11:05:42 +0200 Subject: clean up file structure, use bottle soup plugin --- bin/web_dev.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bin/web_dev.py (limited to 'bin/web_dev.py') diff --git a/bin/web_dev.py b/bin/web_dev.py new file mode 100644 index 0000000..7dd5d87 --- /dev/null +++ b/bin/web_dev.py @@ -0,0 +1,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) -- cgit v1.2.1