summaryrefslogtreecommitdiff
path: root/bin/ebus_web
diff options
context:
space:
mode:
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))