Updated Windows docs for completeness

- Update installer option for PATH installation
 - Add link directly to pip install docu, ref get-pip.py
 - Add note about installing Django to the virtualenv that was setup in the previous step
This commit is contained in:
Katie McLaughlin 2016-04-16 20:15:18 +10:00 committed by Markus Holtermann
parent 74675a15d0
commit 393811c67a
1 changed files with 8 additions and 3 deletions

View File

@ -22,7 +22,7 @@ machine. At the time of writing, Python 3.5 is the latest version.
To install Python on your machine go to https://python.org/downloads/. The To install Python on your machine go to https://python.org/downloads/. The
website should offer you a download button for the latest Python version. website should offer you a download button for the latest Python version.
Download the executable installer and run it. Check the box next to ``Add Download the executable installer and run it. Check the box next to ``Add
Python 3.5 to PATH`` and then click ``Install Now``. Python to to environment variables`` and then click ``Install Now``.
After installation, open the command prompt and check that the Python version After installation, open the command prompt and check that the Python version
matches the version you installed by executing:: matches the version you installed by executing::
@ -36,6 +36,10 @@ About ``pip``
Python packages (such as Django!) very easy. For the rest of the installation, Python packages (such as Django!) very easy. For the rest of the installation,
we'll use ``pip`` to install Python packages from the command line. we'll use ``pip`` to install Python packages from the command line.
To install pip on your machine, go to
https://pip.pypa.io/en/latest/installing/, and follow the ``Installing with
get-pip.py`` instructions.
.. _pip: https://pypi.python.org/pypi/pip .. _pip: https://pypi.python.org/pypi/pip
Install ``virtualenv`` and ``virtualenvwrapper`` Install ``virtualenv`` and ``virtualenvwrapper``
@ -64,9 +68,10 @@ command prompt, you'll need to activate the environment again using::
Install Django Install Django
============== ==============
Django can be installed easily using ``pip``. Django can be installed easily using ``pip`` within your virtual environment.
In the command prompt, execute the following command:: In the command prompt, ensure your virtual environment is active, and execute
the following command::
pip install django pip install django