Since I haven't been able to deploy my TG231 app with circus and 
chaussette, I am trying now with CherrPy.

I have been following this tutorial: 
https://www.digitalocean.com/community/articles/how-to-deploy-python-wsgi-applications-using-a-cherrypy-web-server-behind-nginx

I am stuck where it says:

def application(env, start_response):
    start_response('200 OK', [('Content-Type', 'text/html')])
    return ["Hello!"]

This is the file that is included by the server and each time a request 
comes, the server uses this application callable to run the application's 
request handlers (i.e. controllers) upon parsing the URL (e.g. 
mysite.tld/controller/method/variable). 

I don't know how to modify this wsgi.py file so that it calls my app. How 
could I do it? 

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to