From 6c580608f942d2f4b931faa6fe81171fd9e8a878 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 9 Jun 2010 19:41:46 +0000 Subject: bla git-svn-id: http://10.2.2.13/svn/common/ebus@1679 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- bin/ebus_web.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/ebus_web.py (limited to 'bin/ebus_web.py') diff --git a/bin/ebus_web.py b/bin/ebus_web.py new file mode 100755 index 0000000..74fe9b9 --- /dev/null +++ b/bin/ebus_web.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +import sys +from ebus.web import controller + +from sqlalchemy import create_engine + +#db_engine = create_engine('sqlite:///:memory:', echo=True) +db_engine = create_engine("postgresql://yvesf:iii@10.2.2.13:5432/yvesf", echo=True) + +sys.exit(controller.run(db_engine)) -- cgit v1.2.1