mirror of
				https://github.com/django/daphne.git
				synced 2025-10-30 23:37:25 +03:00 
			
		
		
		
	Update README for shell compatibility. (#327)
This commit is contained in:
		
							parent
							
								
									15ba5c6776
								
							
						
					
					
						commit
						525b6d2dbb
					
				|  | @ -58,7 +58,7 @@ Daphne supports terminating HTTP/2 connections natively. You'll | ||||||
| need to do a couple of things to get it working, though. First, you need to | need to do a couple of things to get it working, though. First, you need to | ||||||
| make sure you install the Twisted ``http2`` and ``tls`` extras:: | make sure you install the Twisted ``http2`` and ``tls`` extras:: | ||||||
| 
 | 
 | ||||||
|     pip install -U Twisted[tls,http2] |     pip install -U 'Twisted[tls,http2]' | ||||||
| 
 | 
 | ||||||
| Next, because all current browsers only support HTTP/2 when using TLS, you will | Next, because all current browsers only support HTTP/2 when using TLS, you will | ||||||
| need to start Daphne with TLS turned on, which can be done using the Twisted endpoint syntax:: | need to start Daphne with TLS turned on, which can be done using the Twisted endpoint syntax:: | ||||||
|  | @ -124,7 +124,7 @@ Please refer to the | ||||||
| To run tests, make sure you have installed the ``tests`` extra with the package:: | To run tests, make sure you have installed the ``tests`` extra with the package:: | ||||||
| 
 | 
 | ||||||
|     cd daphne/ |     cd daphne/ | ||||||
|     pip install -e .[tests] |     pip install -e '.[tests]' | ||||||
|     pytest |     pytest | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user