Tighten quickstart deployment docs.

This commit is contained in:
Ron DuPlain 2012-03-13 12:12:47 -07:00
parent 1d1db80e06
commit 3bf1750b5d
2 changed files with 17 additions and 7 deletions

View file

@ -13,6 +13,9 @@ 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.
For hosted options to get up and running quickly, see
:ref:`quickstart_deployment` in the Quickstart.
.. toctree::
:maxdepth: 2

View file

@ -827,18 +827,25 @@ can do it like this::
from werkzeug.contrib.fixers import LighttpdCGIRootFix
app.wsgi_app = LighttpdCGIRootFix(app.wsgi_app)
.. _quickstart_deployment:
Deploying to a Web Server
-------------------------
If you want to make your Flask app available to the Internet at large, `Heroku
<http://www.heroku.com>`_ is very easy to set up and will run small Flask
applications for free. `Check out their tutorial on how to deploy Flask apps on
their service <http://devcenter.heroku.com/articles/python>`_.
There are a number of other websites that will host your Flask app and make it
easy for you to do so.
Ready to deploy your new Flask app? To wrap up the quickstart, you can
immediately deploy to a hosted platform, all of which offer a free plan for
small projects:
- `Deploying Flask on Heroku <http://devcenter.heroku.com/articles/python>`_
- `Deploying Flask on ep.io <https://www.ep.io/docs/quickstart/flask/>`_
- `Deploying WSGI on dotCloud <http://docs.dotcloud.com/services/python/>`_
with `Flask-specific notes <http://flask.pocoo.org/snippets/48/>`_
Other places where you can host your Flask app:
- `Deploying Flask on Webfaction <http://flask.pocoo.org/snippets/65/>`_
- `Deploying Flask on Google App Engine <https://github.com/kamalgill/flask-appengine-template>`_
- `Sharing your Localhost Server with Localtunnel <http://flask.pocoo.org/snippets/89/>`_
If you manage your own hosts and would like to host yourself, see the chapter
on :ref:`deployment`.