Skip to content

Commit

Permalink
Merge branch 'master' into blueprints
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jun 26, 2011
2 parents bffe97b + 8e928a2 commit 8232aae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/deploying/index.rst
@@ -1,3 +1,5 @@
.. _deployment:

Deployment Options Deployment Options
================== ==================


Expand Down
16 changes: 16 additions & 0 deletions docs/patterns/appdispatch.rst
Expand Up @@ -15,6 +15,22 @@ The fundamental difference from the :ref:`module approach
different Flask applications that are entirely isolated from each other. different Flask applications that are entirely isolated from each other.
They run different configurations and are dispatched on the WSGI level. They run different configurations and are dispatched on the WSGI level.



Working with this Document
--------------------------

Each of the techniques and examples below results in an ``application`` object
that can be run with any WSGI server. For production, see :ref:`deployment`.
For development, Werkzeug provides a builtin server for development available
at :func:`werkzeug.serving.run_simple`::

from werkzeug.serving import run_simple
run_simple('localhost', 5000, application, use_reloader=True)

Note that :func:`run_simple <werkzeug.serving.run_simple>` is not intended for
use in production. Use a :ref:`full-blown WSGI server <deployment>`.


Combining Applications Combining Applications
---------------------- ----------------------


Expand Down

0 comments on commit 8232aae

Please sign in to comment.