Browse files

Merge pull request #609 from MostAwesomeDude/master

docs/deploying/wsgi-standalone: Add Twisted Web.
  • Loading branch information...
kennethreitz committed Nov 16, 2012
2 parents 2fabc65 + f6a5a7a commit fedc96c0b9a1c48d11819f03fc82065336af89a4
Showing with 23 additions and 0 deletions.
  1. +23 −0 docs/deploying/wsgi-standalone.rst
@@ -66,6 +66,29 @@ event loop::
.. _greenlet:
.. _libevent:
+Twisted Web
+`Twisted Web`_ is the web server shipped with `Twisted`_, a mature,
+non-blocking event-driven networking library. Twisted Web comes with a
+standard WSGI container which can be controlled from the command line using
+the ``twistd`` utility::
+ twistd web --wsgi
+This example will run a Flask application called ``app`` from a module named
+Twisted Web supports many flags and options, and the ``twistd`` utility does
+as well; see ``twistd -h`` and ``twistd web -h`` for more information. For
+example, to run a Twisted Web server in the foreground, on port 8080, with an
+application from ``myproject``::
+ twistd -n web --port 8080 --wsgi
+.. _Twisted:
+.. _Twisted Web:
.. _deploying-proxy-setups:
Proxy Setups

0 comments on commit fedc96c

Please sign in to comment.