Closed
Description
I have tried unsuccessfully to run CherrPy natively in OS3, as it's own server (i.e. no gunicorn or WSGI server).
Any help is appreciated
app.py
import cherrypy
class Root(object):
@cherrypy.expose
def index(self):
return "Hello World!"
if __name__ == '__main__':
from cherrypy._cpnative_server import CPHTTPServer
cherrypy.server.httpserver = CPHTTPServer(cherrypy.server)
cherrypy.server.socket_host = "0.0.0.0"
cherrypy.quickstart(Root(), '/')
requirements.txt
cherrypy
Metadata
Metadata
Assignees
Labels
No labels