diff options
Diffstat (limited to 'bin/ebus_web.py')
-rwxr-xr-x | bin/ebus_web.py | 10 |
1 files changed, 10 insertions, 0 deletions
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)) |