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>
<p><strong>This method requires root access.</strong></p>
<p>First become root by running</p>
<blockquote>
<p>sudo su</p>
</blockquote>
<pre><code>sudo su</code></pre>
<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>
<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>
<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>
<blockquote>
<p>sudo su</p>
</blockquote>
<pre><code>sudo su</code></pre>
<p>Now download (or &quot;clone&quot;) the git repository.</p>
<blockquote>
<p>git clone git://github.com/ProgVal/Limnoria.git</p>
</blockquote>
<pre><code>git clone git://github.com/ProgVal/Limnoria.git</code></pre>
<p>move into the cloned repository</p>
<blockquote>
<p>cd Limnoria</p>
</blockquote>
<pre><code>cd Limnoria</code></pre>
<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>
<blockquote>
<p>git checkout -b testing origin/testing</p>
</blockquote>
<pre><code>git checkout -b testing origin/testing</code></pre>
<p>Now if you are root and what global installation, you run</p>
<blockquote>
<p>python setup.py install</p>
</blockquote>
<pre><code>python setup.py install</code></pre>
<p>or local installation</p>
<blockquote>
<p>python setup.py install --user</p>
</blockquote>
<pre><code>python setup.py install --user</code></pre>
<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>
<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>Update the cloned repository by running</p>
<blockquote>
<p>git pull</p>
</blockquote>
<pre><code>git pull</code></pre>
<p>and then reinstall</p>
<blockquote>
<p>python setup.py install</p>
</blockquote>
<pre><code>python setup.py install</code></pre>
<p>or only for current user</p>
<blockquote>
<p>python setup.py install --user</p>
</blockquote>
<pre><code>python setup.py install --user</code></pre>
<hr/>
<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>
<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>
<blockquote>
<p>source .bashrc</p>
</blockquote>
<pre><code>source .bashrc</code></pre>
<p>or with zsh</p>
<blockquote>
<p>source .zshrc</p>
</blockquote>
<pre><code>source .zshrc</code></pre>
<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>
<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
> 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
```
<hr/>
@ -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.