mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[3.1.x] Updated ASGI uvicorn deployment docs.
Backport of c1442e1192 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Carlton Gibson
						Carlton Gibson
					
				
			
			
				
	
			
			
			
						parent
						
							793bd24db6
						
					
				
				
					commit
					356efa90b5
				
			| @@ -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 | ||||
| ========================= | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user