Clarify virtualenv steps for easier getting started

Reference: https://github.com/wagtail/wagtail/issues/4690#issuecomment-431240164
pull/4852/head
Dan Braghis 2018-10-27 11:20:55 +03:00 zatwierdzone przez Mikalai Radchuk
rodzic 1f7e16a172
commit 3bb6984132
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -10,12 +10,19 @@ We'd also recommend Virtualenv, which provides isolated Python environments:
* `Virtualenv <https://virtualenv.pypa.io/en/latest/installation.html>`_
.. important::
Before installing Wagtail, it is necessary to install the **libjpeg** and **zlib** libraries, which provide support for working with JPEG, PNG and GIF images (via the Python **Pillow** library). The way to do this varies by platform - see Pillow's `platform-specific installation instructions <http://pillow.readthedocs.org/en/latest/installation.html#external-libraries>`_.
With the above installed, the quickest way to install Wagtail is:
*If you are using Virtualenv, run*
.. code-block:: console
$ virtualenv env -p python3
$ source env/bin/activate
.. code-block:: console
$ pip install wagtail