Tutorial should mention deployment with mod_wsgi or something else #177

Closed
mitsuhiko opened this Issue Feb 17, 2011 · 5 comments

Projects

None yet

6 participants

@mitsuhiko
Member

Many people struggle with deploying a simple Flask application. The tutorial should show that and provide some helpful pointers to other parts of the documentation that handle deployment.

Related feedback issues:

@brunsgaard

I am currently working on a tutorial explaining how to deploy a Flask app in a nginx, uWSGI, FreeBSD environment..

If it is of interrest to the community I could try to keep the FreeBSD specific elements out of it, and make it more generel, with the goal of using it is part of the documentation or the examples.

If it sound like a good idea to you, then please PM me in the IRC channel, and lets discuss what the community needs/wants, and then I will write it..

I started writing last week and there are not much written yet, but the draft can be found http://goo.gl/KA3pn

@untitaker
Member

@brunsgaard I personally have no use for this, but i am sure a tutorial with uWSGI is always appreciated, especially if it's not OS-specific. :)

@methane
Contributor
methane commented Feb 18, 2013

I prefer uwsgi.
mod_wsgi uses subinterpreter feature and some library doesn't support it. Python 2.7.3 stdlib also have a bug when using with mod_wsgi.
When I want to run wsgi app behind Apache, I use uwsgi and ProxyPass / http://127.0.0.1:$port/ retry=0.

@remram44

(Above-mentioned documentation has moved here: WebCore: Deploying your Application)

Looking around today, I can find this section of the Quickstart guide and these detailed instructions which cover Apache + mod_wsgi, Gunicorn/Tornado/Twisted, uWSGI and FastCGI.

You can probably close this :)

@untitaker untitaker closed this Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment