Skip to content

Commit

Permalink
[3.1.x] Updated ASGI uvicorn deployment docs.
Browse files Browse the repository at this point in the history
Backport of c1442e1 from master
  • Loading branch information
graingert authored and carltongibson committed Sep 29, 2020
1 parent 793bd24 commit 356efa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/howto/deployment/asgi/uvicorn.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Installing Uvicorn

You can install Uvicorn with ``pip``::

python -m pip install uvicorn
python -m pip install uvicorn gunicorn

Running Django in Uvicorn
=========================
Expand All @@ -24,7 +24,7 @@ called (separated by a colon).

For a typical Django project, invoking Uvicorn would look like::

uvicorn myproject.asgi:application
gunicorn myproject.asgi:application -k uvicorn.workers.UvicornWorker

This will start one process listening on ``127.0.0.1:8000``. It requires that
your project be on the Python path; to ensure that run this command from the
Expand Down

0 comments on commit 356efa9

Please sign in to comment.