From 5f5404b95ac448fe6057e3f4bb95742af5bb1e31 Mon Sep 17 00:00:00 2001 From: koug44 Date: Fri, 20 Mar 2020 10:09:20 -0400 Subject: [PATCH 1/3] Update getting_started.rst Replacing command to install Sanic without uvloop as the provided one is not working (at least in my case) --- docs/sanic/getting_started.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sanic/getting_started.rst b/docs/sanic/getting_started.rst index 861bb72263..7873bb8db5 100644 --- a/docs/sanic/getting_started.rst +++ b/docs/sanic/getting_started.rst @@ -20,7 +20,9 @@ to true will stop that features installation. .. code-block:: bash - SANIC_NO_UVLOOP=true SANIC_NO_UJSON=true pip3 install sanic + $ export SANIC_NO_UVLOOP=true + $ export SANIC_NO_UJSON=true + $ pip3 install --no-binary :all: sanic You can also install Sanic from `conda-forge `_ From ae065fa318c6e9fa7f62a87e2b3e71bcdf6e2ed4 Mon Sep 17 00:00:00 2001 From: koug44 Date: Tue, 24 Mar 2020 13:59:05 -0400 Subject: [PATCH 2/3] Same thing as oneliner --- docs/sanic/getting_started.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/sanic/getting_started.rst b/docs/sanic/getting_started.rst index 7873bb8db5..f3df827600 100644 --- a/docs/sanic/getting_started.rst +++ b/docs/sanic/getting_started.rst @@ -20,9 +20,7 @@ to true will stop that features installation. .. code-block:: bash - $ export SANIC_NO_UVLOOP=true - $ export SANIC_NO_UJSON=true - $ pip3 install --no-binary :all: sanic + SANIC_NO_UVLOOP=true SANIC_NO_UJSON=true pip3 install --no-binary :all: sanic You can also install Sanic from `conda-forge `_ From f49600e5cd772de70c3a99e369a95db417862006 Mon Sep 17 00:00:00 2001 From: koug44 Date: Thu, 9 Apr 2020 08:21:34 -0400 Subject: [PATCH 3/3] Update getting_started.rst Dummy commit for Travis --- docs/sanic/getting_started.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sanic/getting_started.rst b/docs/sanic/getting_started.rst index f3df827600..bd17cc6c81 100644 --- a/docs/sanic/getting_started.rst +++ b/docs/sanic/getting_started.rst @@ -8,14 +8,14 @@ syntax, so earlier versions of python won't work. 1. Install Sanic ---------------- -> If you are running on a clean install of Fedora 28 or above, please make sure you have the ``redhat-rpm-config`` package installed in case if you want to use ``sanic`` with ``ujson`` dependency. +If you are running on a clean install of Fedora 28 or above, please make sure you have the ``redhat-rpm-config`` package installed in case if you want to use ``sanic`` with ``ujson`` dependency. .. code-block:: bash pip3 install sanic To install sanic without `uvloop` or `ujson` using bash, you can provide either or both of these environmental variables -using any truthy string like `'y', 'yes', 't', 'true', 'on', '1'` and setting the `SANIC_NO_X` (`X` = `UVLOOP`/`UJSON`) +using any truthy string like `'y', 'yes', 't', 'true', 'on', '1'` and setting the `SANIC_NO_X` ( with`X` = `UVLOOP`/`UJSON`) to true will stop that features installation. .. code-block:: bash