diff options
author | Random Hacker <random_hacker@xapek.org> | 2013-02-24 16:44:17 +0100 |
---|---|---|
committer | Random Hacker <random_hacker@xapek.org> | 2013-02-24 16:44:17 +0100 |
commit | 37e334d24a099e5367597ee18ac0c6d5ae2fba32 (patch) | |
tree | 057a2ad096b44e8bda448d35ebd2a7f835673f05 /bin | |
parent | 946eb7d95fc04d465802c8fc00e5d4130a52c8f2 (diff) | |
download | ebus-alt-37e334d24a099e5367597ee18ac0c6d5ae2fba32.tar.gz ebus-alt-37e334d24a099e5367597ee18ac0c6d5ae2fba32.zip |
hdf support
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/web_dev.py | 9 | ||||
-rwxr-xr-x | bin/web_prod.py | 2 |
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 |