summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorSirenityK <eldarielmario@gmail.com>2024-09-05 14:32:46 -0700
committerGitHub <noreply@github.com>2024-09-05 18:32:46 -0300
commit03d52d2a52af89381ee5b1030c672f0daf27be12 (patch)
tree7007a35ab121106da329626ccb6582589fa73347 /docs/howto
parent957c54d945fedb58febff05e4ce82377cc43f9f4 (diff)
Updated instruction for deploying with Uvicorn and Gunicorn.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/deployment/asgi/uvicorn.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/deployment/asgi/uvicorn.txt b/docs/howto/deployment/asgi/uvicorn.txt
index cfce90fec1..cd7cacd72f 100644
--- a/docs/howto/deployment/asgi/uvicorn.txt
+++ b/docs/howto/deployment/asgi/uvicorn.txt
@@ -47,13 +47,13 @@ To install Uvicorn and Gunicorn, use the following:
.. code-block:: shell
- python -m pip install uvicorn gunicorn
+ python -m pip install uvicorn uvicorn-worker gunicorn
Then start Gunicorn using the Uvicorn worker class like this:
.. code-block:: shell
- python -m gunicorn myproject.asgi:application -k uvicorn.workers.UvicornWorker
+ python -m gunicorn myproject.asgi:application -k uvicorn_worker.UvicornWorker
.. _Uvicorn: https://www.uvicorn.org/
.. _Gunicorn: https://gunicorn.org/