summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/web_dev.py9
-rwxr-xr-xbin/web_prod.py2
2 files changed, 4 insertions, 7 deletions
diff --git a/bin/web_dev.py b/bin/web_dev.py
index c04c071..8c45f0b 100755
--- a/bin/web_dev.py
+++ b/bin/web_dev.py
@@ -1,12 +1,9 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# coding: utf-8
import bottle
-from ebus import webapp
-from ebus.webapp.soup_plugin import SoupPlugin
+from ebus import webhdf
if __name__ == "__main__":
- soup = SoupPlugin(url="postgresql://ebus:ebus@10.2.2.26:5432/ebus", echo=True)
- webapp.app.install(soup)
bottle.debug(True)
- bottle.run(webapp.app, host="0.0.0.0", port=8000, reloader=True)
+ bottle.run(webhdf.app, host="0.0.0.0", port=8080, reloader=True)
diff --git a/bin/web_prod.py b/bin/web_prod.py
index 12b9b73..9f99d75 100755
--- a/bin/web_prod.py
+++ b/bin/web_prod.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
# coding: utf-8
import bottle
from ebus import webapp