+++ /dev/null
-[global]
-server.socket_host = '0.0.0.0'
-server.socket_port = 8000
-server.thread_pool = 10
-tools.sessions.on = True
-tools.staticdir.root = "/Users/sjl/Documents/cherryflavoredbugseverywhere/static"
-
-[/static]
-tools.staticdir.on = True
-tools.staticdir.dir = ""
\ No newline at end of file
options = parse_arguments()
WebInterface = web.WebInterface(path.abspath(options['bug_root']), template_dir)
-cherrypy.quickstart(WebInterface, '/', config)
+
+cherrypy.config.update({'tools.staticdir.root': path.join(module_dir, 'static')})
+app_config = { '/static': { 'tools.staticdir.on': True,
+ 'tools.staticdir.dir': '', } }
+cherrypy.quickstart(WebInterface, '/', app_config)