summaryrefslogtreecommitdiff
path: root/bin/ebus_web
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-06-09 18:30:28 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-06-09 18:30:28 +0000
commit3fc788b05bba8813b5b5b274ac1676050104d2f0 (patch)
treebad52ab84a3f2106a349e275376a7430f83c62dd /bin/ebus_web
parent4b320a8d744b8efeb27c983bb6f08208ec743c29 (diff)
downloadebus-alt-3fc788b05bba8813b5b5b274ac1676050104d2f0.tar.gz
ebus-alt-3fc788b05bba8813b5b5b274ac1676050104d2f0.zip
bla
git-svn-id: http://10.2.2.13/svn/common/ebus@1678 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'bin/ebus_web')
-rwxr-xr-xbin/ebus_web7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/ebus_web b/bin/ebus_web
index 057d50e..74fe9b9 100755
--- a/bin/ebus_web
+++ b/bin/ebus_web
@@ -2,4 +2,9 @@
import sys
from ebus.web import controller
-sys.exit(controller.run())
+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))