mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2025-02-25 10:00:49 +01:00
use/install.rst: simplify installation/upgrading
--upgrade does nothing if everything is installed and up-to-date. Otherwise it installs or upgrades.
This commit is contained in:
parent
3e20778d1b
commit
7eb9f6fd3a
@ -90,11 +90,11 @@ In case you want to use the testing branch which might be more up-to date
|
||||
|
||||
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 --upgrade
|
||||
|
||||
And then Limnoria itself::
|
||||
|
||||
pip install git+https://github.com/ProgVal/Limnoria.git@master
|
||||
pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade
|
||||
|
||||
Local installation
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
@ -102,20 +102,14 @@ Local installation
|
||||
Simply add ``--user`` to the end of both commands. First we install
|
||||
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
|
||||
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --user --upgrade
|
||||
pip install git+https://github.com/ProgVal/Limnoria.git@master --user --upgrade
|
||||
|
||||
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
|
||||
|
||||
Upgrading
|
||||
^^^^^^^^^
|
||||
|
||||
To upgrade Limnoria, simply add ``--upgrade`` to the end of both commands.
|
||||
|
||||
|
||||
Configure Supybot
|
||||
-----------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user