Update README for shell compatibility. (#327)

This commit is contained in:
Ryan Fredericks 2020-10-28 15:45:41 -04:00 committed by GitHub
parent 15ba5c6776
commit 525b6d2dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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