summaryrefslogtreecommitdiff
path: root/docs/quick_tour.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-12-25 02:17:19 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-25 02:17:19 -0800
commit54d9ddcd335d45662ca2ec2839574085318e8704 (patch)
treec037abd5eb3d2f4c849b975c641e8575c01bd650 /docs/quick_tour.rst
parent2cd1eab15a3777cbc81c2d365f21a98c29c9ed86 (diff)
downloadpyramid-54d9ddcd335d45662ca2ec2839574085318e8704.tar.gz
pyramid-54d9ddcd335d45662ca2ec2839574085318e8704.tar.bz2
pyramid-54d9ddcd335d45662ca2ec2839574085318e8704.zip
quick_tour - Configuration with ``.ini`` files section cookiecutter updates
- src files - update numbered list for new listen configuration for waitress - fix reference to app, not server - reorder numbered list to align with configuration order
Diffstat (limited to 'docs/quick_tour.rst')
-rw-r--r--docs/quick_tour.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst
index 4c8dfc143..a48ac4137 100644
--- a/docs/quick_tour.rst
+++ b/docs/quick_tour.rst
@@ -599,15 +599,15 @@ sections:
We have a few decisions made for us in this configuration:
-#. *Choice of web server:* ``use = egg:hello_world`` tells ``pserve`` to
- use the ``waitress`` server.
-
-#. *Port number:* ``port = 6543`` tells ``waitress`` to listen on port 6543.
-
#. *WSGI app:* What package has our WSGI application in it?
``use = egg:hello_world`` in the app section tells the configuration what
application to load.
+#. *Choice of web server:* ``use = egg:waitress#main`` tells ``pserve`` to
+ use the ``waitress`` server.
+
+#. *Interfaces:* ``listen = 127.0.0.1:6543 [::1]:6543`` tells ``waitress`` to listen on all interfaces on port 6543 for both IPv4 and IPv6.
+
#. *Easier development by automatic template reloading:* In development mode,
you shouldn't have to restart the server when editing a Jinja2 template.
``pyramid.reload_templates = true`` sets this policy, which might be