2011-06-26 02:09:37 +08:00
|
|
|
.. _deployment:
|
|
|
|
|
2010-04-19 17:23:44 +08:00
|
|
|
Deployment Options
|
|
|
|
==================
|
|
|
|
|
2011-06-11 00:15:50 +08: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 17:23:44 +08:00
|
|
|
|
2011-06-11 00:15:50 +08: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 17:23:44 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
mod_wsgi
|
|
|
|
cgi
|
|
|
|
fastcgi
|
2011-06-10 16:38:26 +08:00
|
|
|
uwsgi
|
2010-04-19 17:23:44 +08:00
|
|
|
others
|