install.rst: fix clode blocks with help from @ProgVal

This commit is contained in:
Mikaela Suomalainen 2014-06-27 19:41:45 +03:00
parent 4b2fb3951b
commit 32fa8b28c7

View File

@ -62,8 +62,8 @@ Easy to follow install guide
This guide requires `pip`_ (usually in package python-pip) and `git`_.
*Windows users: `pip`_ also works on Windows and you need `msysgit`_ in
which setup you should specify to have UNIX tools in PATH.*
**Windows users:** `pip`_ also works on Windows and you need `msysgit`_ in
which setup you should specify to have UNIX tools in PATH.
.. _pip: http://pip.readthedocs.org/en/latest/installing.html#install-pip
.. _git: http://git-scm.com/
@ -75,11 +75,11 @@ Global installation
You can either run these as root or prepend ``sudo`` in front of every
message.
First we Limnoria's requirements:
First we Limnoria's requirements: ::
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt
And then Limnoria itself:
And then Limnoria itself: ::
pip install git+https://github.com/ProgVal/Limnoria.git@master
@ -87,12 +87,12 @@ Local installation
^^^^^^^^^^^^^^^^^^
Simply add ``--user`` to the end of both commands. First we install
requirements and then Limnoria itself.
requirements and then Limnoria itself.::
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --user
pip install git+https://github.com/ProgVal/Limnoria.git@master --user
You might need to add $HOME/.local/bin to your PATH.
You might need to add $HOME/.local/bin to your PATH.::
echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.$(echo $SHELL|cut -d/ -f3)rc
source ~/.$(echo $SHELL|cut -d/ -f3)rc