Update README.rst

Made the optional Environment variable declaration for installation more clear.
This commit is contained in:
Jitesh Nair 2018-12-31 16:00:34 +05:30 committed by GitHub
parent ff38a3c6b6
commit f5162f8ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,11 @@ Installation
Sanic makes use of ``uvloop`` and ``ujson`` to help with performance. If you do not want to use those packages, simply add an environmental variable ``SANIC_NO_UVLOOP=true`` or ``SANIC_NO_UJSON=true`` at install time.
``SANIC_NO_UVLOOP=true SANIC_NO_UJSON=true pip3 install sanic``
.. code:: shell
$ export SANIC_NO_UVLOOP=true
$ export SANIC_NO_UJSON=true
$ pip3 install sanic
Hello World Example