2011-06-25 14:09:37 -04:00
|
|
|
.. _deployment:
|
|
|
|
|
|
2010-04-19 11:23:44 +02:00
|
|
|
Deployment Options
|
|
|
|
|
==================
|
|
|
|
|
|
2011-06-10 12:15:50 -04:00
|
|
|
Depending on what you have available there are multiple ways to run
|
|
|
|
|
Flask applications. You can use the builtin server during development,
|
|
|
|
|
but you should use a full deployment option for production applications.
|
|
|
|
|
(Do not use the builtin development server in production.) Several
|
|
|
|
|
options are available and documented here.
|
2010-04-19 11:23:44 +02:00
|
|
|
|
2011-06-10 12:15:50 -04:00
|
|
|
If you have a different WSGI server look up the server documentation
|
|
|
|
|
about how to use a WSGI app with it. Just remember that your
|
|
|
|
|
:class:`Flask` application object is the actual WSGI application.
|
2010-04-19 11:23:44 +02:00
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
|
|
mod_wsgi
|
|
|
|
|
cgi
|
|
|
|
|
fastcgi
|
2011-06-10 01:38:26 -07:00
|
|
|
uwsgi
|
2010-04-19 11:23:44 +02:00
|
|
|
others
|