diff options
author | yvesf <yvesf-git@xapek.org> | 2011-07-24 11:05:42 +0200 |
---|---|---|
committer | yvesf <yvesf-git@xapek.org> | 2011-07-24 11:05:42 +0200 |
commit | 75017423563a18986aa096566d8a2969c32c3588 (patch) | |
tree | bd86ab746dd06f71ebd1b723e3bec754805e8736 /bin/web_prod.py | |
parent | a0382ecfbef32b47b7438170feaa7b81d7bc22db (diff) | |
download | ebus-alt-75017423563a18986aa096566d8a2969c32c3588.tar.gz ebus-alt-75017423563a18986aa096566d8a2969c32c3588.zip |
clean up file structure, use bottle soup plugin
Diffstat (limited to 'bin/web_prod.py')
-rw-r--r-- | bin/web_prod.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/web_prod.py b/bin/web_prod.py new file mode 100644 index 0000000..7d01106 --- /dev/null +++ b/bin/web_prod.py @@ -0,0 +1,12 @@ +#!/usr/bin/python +# coding: utf-8 +import bottle +from ebus import webapp +from ebus.webapp.soup_plugin import SoupPlugin + +if __name__ == "__main__": + soup = SoupPlugin(url="postgresql:///ebus") + webapp.app.install(soup) + bottle.debug(False) + + bottle.run(webapp.app, host="0.0.0.0", port=8000, reloader=False) |