Limnoria: change syntax

This commit is contained in:
Mikaela Suomalainen 2012-11-04 15:15:06 +02:00
parent 5676e8a585
commit e7e152adaa
2 changed files with 48 additions and 48 deletions

View File

@ -17,9 +17,7 @@ Installing & running Limnoria.
<h2 id="with-the-debian-package">With the Debian package</h2> <h2 id="with-the-debian-package">With the Debian package</h2>
<p><strong>This method requires root access.</strong></p> <p><strong>This method requires root access.</strong></p>
<p>First become root by running</p> <p>First become root by running</p>
<blockquote> <pre><code>sudo su</code></pre>
<p>sudo su</p>
</blockquote>
<p>Then download the Debian package. Here you have to choice do you install the stable version or testing version.</p> <p>Then download the Debian package. Here you have to choice do you install the stable version or testing version.</p>
<p>Replace &quot;VERSIONHERE&quot; with &quot;master&quot; to get stable version or &quot;testing&quot; to get testing version.</p> <p>Replace &quot;VERSIONHERE&quot; with &quot;master&quot; to get stable version or &quot;testing&quot; to get testing version.</p>
<pre><code>wget http://compiler.progval.net/limnoria-VERSIONHERE-HEAD.deb <pre><code>wget http://compiler.progval.net/limnoria-VERSIONHERE-HEAD.deb
@ -31,46 +29,28 @@ apt-get install -f</code></pre>
<h2 id="from-source">From source</h2> <h2 id="from-source">From source</h2>
<p>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].</p> <p>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].</p>
<p>If you are going to do a global installation you might want to become root now, otherwise skip the next command</p> <p>If you are going to do a global installation you might want to become root now, otherwise skip the next command</p>
<blockquote> <pre><code>sudo su</code></pre>
<p>sudo su</p>
</blockquote>
<p>Now download (or &quot;clone&quot;) the git repository.</p> <p>Now download (or &quot;clone&quot;) the git repository.</p>
<blockquote> <pre><code>git clone git://github.com/ProgVal/Limnoria.git</code></pre>
<p>git clone git://github.com/ProgVal/Limnoria.git</p>
</blockquote>
<p>move into the cloned repository</p> <p>move into the cloned repository</p>
<blockquote> <pre><code>cd Limnoria</code></pre>
<p>cd Limnoria</p>
</blockquote>
<p>and decide do you want install stable or testing version.</p> <p>and decide do you want install stable or testing version.</p>
<p>In case you want the testing version, change into the testing branch. If you want the stable version skip this.</p> <p>In case you want the testing version, change into the testing branch. If you want the stable version skip this.</p>
<blockquote> <pre><code>git checkout -b testing origin/testing</code></pre>
<p>git checkout -b testing origin/testing</p>
</blockquote>
<p>Now if you are root and what global installation, you run</p> <p>Now if you are root and what global installation, you run</p>
<blockquote> <pre><code>python setup.py install</code></pre>
<p>python setup.py install</p>
</blockquote>
<p>or local installation</p> <p>or local installation</p>
<blockquote> <pre><code>python setup.py install --user</code></pre>
<p>python setup.py install --user</p>
</blockquote>
<p>Limnoria is now installed and you can move to configuring it.</p> <p>Limnoria is now installed and you can move to configuring it.</p>
<p><strong>[Arch Linux] users (and users of other distributions which use python3 by default instead of python&quot;): REPLACE &quot;python&quot; WITH &quot;python2&quot; in all commands!</strong></p> <p><strong>[Arch Linux] users (and users of other distributions which use python3 by default instead of python&quot;): REPLACE &quot;python&quot; WITH &quot;python2&quot; in all commands!</strong></p>
<h3 id="upgrading-1">Upgrading</h3> <h3 id="upgrading-1">Upgrading</h3>
<p>Return to the git repository or if you have removed it, follow the installation steps again.</p> <p>Return to the git repository or if you have removed it, follow the installation steps again.</p>
<p>Update the cloned repository by running</p> <p>Update the cloned repository by running</p>
<blockquote> <pre><code>git pull</code></pre>
<p>git pull</p>
</blockquote>
<p>and then reinstall</p> <p>and then reinstall</p>
<blockquote> <pre><code>python setup.py install</code></pre>
<p>python setup.py install</p>
</blockquote>
<p>or only for current user</p> <p>or only for current user</p>
<blockquote> <pre><code>python setup.py install --user</code></pre>
<p>python setup.py install --user</p>
</blockquote>
<hr/> <hr/>
<h1 id="configuring-the-bot">Configuring the bot</h1> <h1 id="configuring-the-bot">Configuring the bot</h1>
@ -82,13 +62,9 @@ apt-get install -f</code></pre>
echo &quot;PATH=$HOME/.local/bin:$PATH&quot; &gt;&gt; ~/.zshrc</code></pre> echo &quot;PATH=$HOME/.local/bin:$PATH&quot; &gt;&gt; ~/.zshrc</code></pre>
<p><strong>If you type only one &quot;&gt;&quot; instead of &quot;&gt;&gt;&quot; in those commands, you will replace the content of those files with &quot;PATH=<span class="math"><em>H</em><em>O</em><em>M</em><em>E</em>/.<em>l</em><em>o</em><em>c</em><em>a</em><em>l</em>/<em>b</em><em>i</em><em>n</em>:</span>PATH&quot; instead of appending it into them.</strong></p> <p><strong>If you type only one &quot;&gt;&quot; instead of &quot;&gt;&gt;&quot; in those commands, you will replace the content of those files with &quot;PATH=<span class="math"><em>H</em><em>O</em><em>M</em><em>E</em>/.<em>l</em><em>o</em><em>c</em><em>a</em><em>l</em>/<em>b</em><em>i</em><em>n</em>:</span>PATH&quot; instead of appending it into them.</strong></p>
<p>then run</p> <p>then run</p>
<blockquote> <pre><code>source .bashrc</code></pre>
<p>source .bashrc</p>
</blockquote>
<p>or with zsh</p> <p>or with zsh</p>
<blockquote> <pre><code>source .zshrc</code></pre>
<p>source .zshrc</p>
</blockquote>
<p>and you should be able to run the commands without needing to type the whole PATH, so you can now move into configuring.</p> <p>and you should be able to run the commands without needing to type the whole PATH, so you can now move into configuring.</p>
<p><strong>NOTE: You don't need to do this again after upgrading.</strong></p> <p><strong>NOTE: You don't need to do this again after upgrading.</strong></p>
<h2 id="running-the-supybot-wizard">Running the Supybot-wizard</h2> <h2 id="running-the-supybot-wizard">Running the Supybot-wizard</h2>

View File

@ -25,7 +25,9 @@ There are three ways to install [Limnoria] depending on your operating system. I
First become root by running 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. 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 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. 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 move into the cloned repository
> cd Limnoria ```
cd Limnoria
```
and decide do you want install stable or testing version. 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. 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 Now if you are root and what global installation, you run
> python setup.py install ```
python setup.py install
```
or local installation or local installation
> python setup.py install --user ```
python setup.py install --user
```
Limnoria is now installed and you can move to configuring it. 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 Update the cloned repository by running
> git pull ```
git pull
```
and then reinstall and then reinstall
> python setup.py install ```
python setup.py install
```
or only for current user or only for current user
> python setup.py install --user ```
python setup.py install --user
```
<hr/> <hr/>
@ -114,11 +134,15 @@ echo "PATH=$HOME/.local/bin:$PATH" >> ~/.zshrc
then run then run
> source .bashrc ```
source .bashrc
```
or with zsh 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. and you should be able to run the commands without needing to type the whole PATH, so you can now move into configuring.