def run_on_cherrypy_for_production():
    '''
    run on cherrypy without auto_reload option
    '''
    from cherrypy import wsgiserver
    dispatch = wsgiserver.WSGIPathInfoDispatcher({'/': app})
    server = wsgiserver.CherryPyWSGIServer(('0.0.0.0', web_conf.PORT), dispatch)

    try:
        server.start()
    except __HOLE__:
        server.stop()
dataset/ETHPy150Open harryliu/edwin/edwinServer/web/runserver.py/run_on_cherrypy_for_production