index.rst
This file
Path
docs/deploying/index.rst
39 lines · 1.5 KiB
Last changed by
resolve merge conflictsKenneth Reitzbefore adoption31174fe
History of this fileTake 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 Flask on Webfaction <http://flask.pocoo.org/snippets/65/>`_23- `Deploying Flask on Google App Engine <https://github.com/kamalgill/flask-appengine-template>`_24- `Deploying Flask on AWS Elastic Beanstalk <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html>`_25- `Sharing your Localhost Server with Localtunnel <http://flask.pocoo.org/snippets/89/>`_26- `Deploying on Azure (IIS) <https://azure.microsoft.com/documentation/articles/web-sites-python-configure/>`_27- `Deploying on PythonAnywhere <https://help.pythonanywhere.com/pages/Flask/>`_2829Self-hosted options30-------------------3132.. toctree::33 :maxdepth: 23435 wsgi-standalone36 uwsgi37 mod_wsgi38 fastcgi39 cgi