aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/start-beweb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs-Everywhere-Web/start-beweb.py')
-rwxr-xr-xBugs-Everywhere-Web/start-beweb.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Bugs-Everywhere-Web/start-beweb.py b/Bugs-Everywhere-Web/start-beweb.py
index 6eba527..39100e7 100755
--- a/Bugs-Everywhere-Web/start-beweb.py
+++ b/Bugs-Everywhere-Web/start-beweb.py
@@ -15,15 +15,14 @@ import sys
# probably installed
if len(sys.argv) > 1:
turbogears.update_config(configfile=sys.argv[1],
- modulename="beweb.config.app")
+ modulename="beweb.config")
elif exists(join(dirname(__file__), "setup.py")):
turbogears.update_config(configfile="dev.cfg",
- modulename="beweb.config.app")
+ modulename="beweb.config")
else:
turbogears.update_config(configfile="prod.cfg",
- modulename="beweb.config.app")
+ modulename="beweb.config")
from beweb.controllers import Root
-cherrypy.root = Root()
-cherrypy.server.start()
+turbogears.start_server(Root())