summaryrefslogtreecommitdiff
path: root/bin/web.py
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-06-25 17:14:05 +0200
committeryvesf <yvesf-git@xapek.org>2011-06-25 17:14:05 +0200
commita85541d9f7622813ec98bf042164414edc1fb366 (patch)
tree8041b06bb1681642777244d1955356bd63af25b7 /bin/web.py
parentc15f4a600ddc3155b761230b84d78458e08bdc40 (diff)
downloadebus-alt-a85541d9f7622813ec98bf042164414edc1fb366.tar.gz
ebus-alt-a85541d9f7622813ec98bf042164414edc1fb366.zip
web -> bottle
Diffstat (limited to 'bin/web.py')
-rw-r--r--bin/web.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/web.py b/bin/web.py
new file mode 100644
index 0000000..c0e2f5d
--- /dev/null
+++ b/bin/web.py
@@ -0,0 +1,7 @@
+#!/usr/bin/python
+# coding: utf-8
+import bottle
+from ebus import web
+
+if __name__ == "__main__":
+ bottle.run(web.app, host="0.0.0.0", port=8000, reloader=True)