Skip to content

Commit f9aec47

Browse files
authored
Update README.rst
1 parent d94c960 commit f9aec47

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.rst

+4-7
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ Check out `open collective <https://opencollective.com/sanic-org>`_ to learn mor
7777
Installation
7878
------------
7979

80-
``pip3 install sanic``
80+
``pip install sanic``
8181

8282
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.
8383

8484
.. code:: shell
8585
8686
$ export SANIC_NO_UVLOOP=true
8787
$ export SANIC_NO_UJSON=true
88-
$ pip3 install --no-binary :all: sanic
88+
$ pip install --no-binary :all: sanic
8989
9090
9191
.. note::
@@ -108,10 +108,7 @@ Hello World Example
108108
async def test(request):
109109
return json({'hello': 'world'})
110110
111-
if __name__ == '__main__':
112-
app.run()
113-
114-
Sanic can now be easily run using ``sanic hello.app``.
111+
Sanic can now be easily run from CLI using ``sanic hello.app``.
115112

116113
.. code::
117114
@@ -132,7 +129,7 @@ And, we can verify it is working: ``curl localhost:8000 -i``
132129
133130
**Now, let's go build something fast!**
134131

135-
Minimum Python version is 3.8. If you need Python 3.7 support, please use v22.12LTS.
132+
Minimum Python version is 3.9.
136133

137134
Documentation
138135
-------------

0 commit comments

Comments
 (0)