Closed davisp closed 14 years ago
Also, anyone with examples of such things, or suggestions for other things to provide examples for, feel free to leave a note.
for flask the microframework based on werkzeug + jinja, it is quite easy
if your webapp is myproject.py and you created the Flask object like this: app = Flask(name)
you can use gunicorn: gunicorn myproject:app
itty has builtin gunicorn support: http://github.com/toastdriven/itty/blob/master/itty.py#L541
@sebest
I've added the Itty and Flask examples to http://gunicorn.org/usage.html
@everyonelse
I have werkzeug and web.py on the list of examples to add. I know these are mostly trivial, but I'd like to be fairly inclusive here. If there's an example we should have up feel free to add a comment even if you don't have an example handy.
If anyone has a web development environment that they want represented, this is your official invitation to submit a recipe for a "Hello, world" tutorial.
And I just realized a webob.wsgify should be added. So the currrent list is:
Even if the web framework you're thinking of right now was written by a third cousin while she visited Laos on a business trip to discuss hog futures, leave a note. The idea is just to show how trivial Gunicorn integration is.
Closing this out. Feel free to send patches for more examples.
Specifically, for the various frameworks like werkzeug, web.py, itty. So on and such forth.