diff options
| author | Chris McDonough <chrism@plope.com> | 2012-01-02 20:41:44 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-01-02 20:41:44 -0500 |
| commit | 030d10697cc52a5c26d19818140616a485f63428 (patch) | |
| tree | 24a57f792ace5f1349b090d9ad4ee3657bd0539f /docs/narr/startup.rst | |
| parent | 2d7d36c7c3d7bd03f18d0cbec411da6bac2b05e2 (diff) | |
| download | pyramid-030d10697cc52a5c26d19818140616a485f63428.tar.gz pyramid-030d10697cc52a5c26d19818140616a485f63428.tar.bz2 pyramid-030d10697cc52a5c26d19818140616a485f63428.zip | |
- Use the ``waitress`` WSGI server instead of ``wsgiref`` in scaffolding.
Diffstat (limited to 'docs/narr/startup.rst')
| -rw-r--r-- | docs/narr/startup.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index a7fc5d33c..78b119687 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -133,8 +133,8 @@ Here's a high-level time-ordered overview of what happens when you press far as ``pserve`` is concerned, it is "just another WSGI application". #. ``pserve`` starts the WSGI *server* defined within the ``[server:main]`` - section. In our case, this is the ``egg:pyramid#wsgiref`` server (``use = - egg:pyramid#wsgiref``), and it will listen on all interfaces (``host = + section. In our case, this is the Waitress server (``use = + egg:waitress#main``), and it will listen on all interfaces (``host = 0.0.0.0``), on port number 6543 (``port = 6543``). The server code itself is what prints ``serving on 0.0.0.0:6543 view at http://127.0.0.1:6543``. The server serves the application, and the application is running, waiting |
