install.rst: Do changes suggested by @ProgVal & add upgrading with pip.

This commit is contained in:
Mikaela Suomalainen 2014-06-27 20:02:15 +03:00
parent 9203441915
commit bb525b0f44

View File

@ -57,10 +57,10 @@ however.
Install Limnoria Install Limnoria
---------------- ----------------
Easy to follow install guide With pip
---------------------------- --------
This guide requires `pip`_ (usually in package python-pip) and `git`_. This guide uses `pip`_ (usually in package python-pip) and `git`_.
**Windows users:** `pip`_ also works on Windows and you need `msysgit`_ in **Windows users:** `pip`_ also works on Windows and you need `msysgit`_ in
which setup you should specify to have UNIX tools in PATH. which setup you should specify to have UNIX tools in PATH.
@ -75,6 +75,9 @@ Global installation
You can either run these as root or prepend ``sudo`` in front of every You can either run these as root or prepend ``sudo`` in front of every
message. message.
In case you want to use the testing branch which might be more up-to date
**but less tested**, replace ``master`` with ``testing in the commands.
First we install Limnoria's requirements: :: First we install Limnoria's requirements: ::
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt
@ -97,8 +100,13 @@ You might need to add $HOME/.local/bin to your PATH.::
echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.$(echo $SHELL|cut -d/ -f3)rc echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.$(echo $SHELL|cut -d/ -f3)rc
source ~/.$(echo $SHELL|cut -d/ -f3)rc source ~/.$(echo $SHELL|cut -d/ -f3)rc
Other methods Upgrading
------------- ^^^^^^^^^
To upgrade Limnoria, simply add ``--upgrade`` to the end of both commands.
With git
--------
We are now ready to install supybot itself. Most distributions have a supybot We are now ready to install supybot itself. Most distributions have a supybot
package in the repositories. This is probably the easiest way to install. If package in the repositories. This is probably the easiest way to install. If