Skip to content
Myr

index.rst

This file

Path

docs/deploying/index.rst

39 lines · 1.3 KiB

Last changed by

Merge pull request #1414 from charleswhchan/patch-1Keyan Pishdadianbefore adoptionb075737

History of this file

Take it

1.. _deployment:23Deployment Options4==================56While lightweight and easy to use, **Flask's built-in server is not suitable7for production** as it doesn't scale well and by default serves only one8request at a time.  Some of the options available for properly running Flask in9production are documented here.1011If you want to deploy your Flask application to a WSGI server not listed here,12look up the server documentation about how to use a WSGI app with it.  Just13remember that your :class:`Flask` application object is the actual WSGI14application.151617Hosted options18--------------1920- `Deploying Flask on Heroku <https://devcenter.heroku.com/articles/getting-started-with-python>`_21- `Deploying Flask on OpenShift <https://developers.openshift.com/en/python-flask.html>`_22- `Deploying WSGI on dotCloud <http://docs.dotcloud.com/services/python/>`_23  with `Flask-specific notes <http://flask.pocoo.org/snippets/48/>`_24- `Deploying Flask on Webfaction <http://flask.pocoo.org/snippets/65/>`_25- `Deploying Flask on Google App Engine <https://github.com/kamalgill/flask-appengine-template>`_26- `Sharing your Localhost Server with Localtunnel <http://flask.pocoo.org/snippets/89/>`_272829Self-hosted options30-------------------3132.. toctree::33   :maxdepth: 23435   mod_wsgi36   wsgi-standalone37   uwsgi38   fastcgi39   cgi