From 37e334d24a099e5367597ee18ac0c6d5ae2fba32 Mon Sep 17 00:00:00 2001 From: Random Hacker Date: Sun, 24 Feb 2013 16:44:17 +0100 Subject: hdf support --- bin/web_dev.py | 9 +++------ bin/web_prod.py | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'bin') 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 -- cgit v1.2.1