Skip to content
Myr

Correct `waitress-serve` command

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dillon Barnes · committed by GitHub · parent 2d3f725 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/deploying/waitress.rst+2 added-2 removed
43 unmodified lines
4445.. code-block:: text4647 # equivalent to 'from hello import app'48 $ waitress-serve hello:app --host 127.0.0.148 $ waitress-serve --host 127.0.0.1 hello:app4950 # equivalent to 'from hello import create_app; create_app()'51 $ waitress-serve --call hello:create_app --host 127.0.0.151 $ waitress-serve --host 127.0.0.1 --call hello:create_app5253 Serving on http://127.0.0.1:80805455The ``--host`` option binds the server to local ``127.0.0.1`` only.
20 unmodified lines