From e7e152adaada5d17fe8645654a1f2544066fa121 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 4 Nov 2012 15:15:06 +0200 Subject: [PATCH] Limnoria: change syntax --- articles/guides/Limnoria.html | 48 ++++++++------------------------ articles/guides/Limnoria.html.md | 48 ++++++++++++++++++++++++-------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/articles/guides/Limnoria.html b/articles/guides/Limnoria.html index c79a428..df5f047 100644 --- a/articles/guides/Limnoria.html +++ b/articles/guides/Limnoria.html @@ -17,9 +17,7 @@ Installing & running Limnoria.

With the Debian package

This method requires root access.

First become root by running

-
-

sudo su

-
+
sudo su

Then download the Debian package. Here you have to choice do you install the stable version or testing version.

Replace "VERSIONHERE" with "master" to get stable version or "testing" to get testing version.

wget http://compiler.progval.net/limnoria-VERSIONHERE-HEAD.deb
@@ -31,46 +29,28 @@ apt-get install -f

From source

I recommend that you have [git] installed, because it will make upgrading easier and you don't have to find the [download links] from [GitHub].

If you are going to do a global installation you might want to become root now, otherwise skip the next command

-
-

sudo su

-
+
sudo su

Now download (or "clone") the git repository.

-
-

git clone git://github.com/ProgVal/Limnoria.git

-
+
git clone git://github.com/ProgVal/Limnoria.git

move into the cloned repository

-
-

cd Limnoria

-
+
cd Limnoria

and decide do you want install stable or testing version.

In case you want the testing version, change into the testing branch. If you want the stable version skip this.

-
-

git checkout -b testing origin/testing

-
+
git checkout -b testing origin/testing

Now if you are root and what global installation, you run

-
-

python setup.py install

-
+
python setup.py install

or local installation

-
-

python setup.py install --user

-
+
python setup.py install --user

Limnoria is now installed and you can move to configuring it.

[Arch Linux] users (and users of other distributions which use python3 by default instead of python"): REPLACE "python" WITH "python2" in all commands!

Upgrading

Return to the git repository or if you have removed it, follow the installation steps again.

Update the cloned repository by running

-
-

git pull

-
+
git pull

and then reinstall

-
-

python setup.py install

-
+
python setup.py install

or only for current user

-
-

python setup.py install --user

-
+
python setup.py install --user

Configuring the bot

@@ -82,13 +62,9 @@ apt-get install -f echo "PATH=$HOME/.local/bin:$PATH" >> ~/.zshrc

If you type only one ">" instead of ">>" in those commands, you will replace the content of those files with "PATH=HOME / . local / bin: PATH" instead of appending it into them.

then run

-
-

source .bashrc

-
+
source .bashrc

or with zsh

-
-

source .zshrc

-
+
source .zshrc

and you should be able to run the commands without needing to type the whole PATH, so you can now move into configuring.

NOTE: You don't need to do this again after upgrading.

Running the Supybot-wizard

diff --git a/articles/guides/Limnoria.html.md b/articles/guides/Limnoria.html.md index a5044be..bff598c 100644 --- a/articles/guides/Limnoria.html.md +++ b/articles/guides/Limnoria.html.md @@ -25,7 +25,9 @@ There are three ways to install [Limnoria] depending on your operating system. I First become root by running -> sudo su +``` +sudo su +``` Then download the Debian package. Here you have to choice do you install the stable version or testing version. @@ -49,29 +51,41 @@ I recommend that you have [git] installed, because it will make upgrading easier If you are going to do a global installation you might want to become root now, otherwise skip the next command -> sudo su +``` +sudo su +``` Now download (or "clone") the git repository. -> git clone git://github.com/ProgVal/Limnoria.git +``` +git clone git://github.com/ProgVal/Limnoria.git +``` move into the cloned repository -> cd Limnoria +``` +cd Limnoria +``` and decide do you want install stable or testing version. In case you want the testing version, change into the testing branch. If you want the stable version skip this. -> git checkout -b testing origin/testing +``` +git checkout -b testing origin/testing +``` Now if you are root and what global installation, you run -> python setup.py install +``` +python setup.py install +``` or local installation -> python setup.py install --user +``` +python setup.py install --user +``` Limnoria is now installed and you can move to configuring it. @@ -83,15 +97,21 @@ Return to the git repository or if you have removed it, follow the installation Update the cloned repository by running -> git pull +``` +git pull +``` and then reinstall -> python setup.py install +``` +python setup.py install +``` or only for current user -> python setup.py install --user +``` +python setup.py install --user +```
@@ -114,11 +134,15 @@ echo "PATH=$HOME/.local/bin:$PATH" >> ~/.zshrc then run -> source .bashrc +``` +source .bashrc +``` or with zsh -> source .zshrc +``` +source .zshrc +``` and you should be able to run the commands without needing to type the whole PATH, so you can now move into configuring.