Project

General

Profile

Installation » History » Version 1

Elmer de Looff, 2012-06-05 10:59
Initial installation instructions

1 1 Elmer de Looff
h1. Installation
2 1 Elmer de Looff
3 1 Elmer de Looff
µWeb is developed on, and intended primarily to run on Debian Linux. For now, these instructions will cater to that operating system mainly.
4 1 Elmer de Looff
5 1 Elmer de Looff
h2. Packages
6 1 Elmer de Looff
7 1 Elmer de Looff
µWeb requires the following packages to be present
8 1 Elmer de Looff
9 1 Elmer de Looff
* @python-decorator@
10 1 Elmer de Looff
* @python-lockfile@
11 1 Elmer de Looff
* @python-openid@
12 1 Elmer de Looff
* @python-simplejson@
13 1 Elmer de Looff
* @python-tz@
14 1 Elmer de Looff
15 1 Elmer de Looff
Installing these can be done using @apt@, as follows:
16 1 Elmer de Looff
17 1 Elmer de Looff
<pre><code class="bash">
18 1 Elmer de Looff
sudo apt-get install python-lockfile python-decorator python-tz python-simplejson python-openid
19 1 Elmer de Looff
</code></pre>
20 1 Elmer de Looff
21 1 Elmer de Looff
h2. Python path
22 1 Elmer de Looff
23 1 Elmer de Looff
The installation directory of µWeb should be included in the @PYTHONPATH@. For instance, if µWeb is installed in the directory @'/home/bob/development/uweb'@, the directory @'/home/bob/development'@ should be added to the @PYTHONPATH@ environment variable.
24 1 Elmer de Looff
25 1 Elmer de Looff
This can be achieved by adding the following to your @.bashrc@:
26 1 Elmer de Looff
<pre><code class="bash">
27 1 Elmer de Looff
export PYTHONPATH="$PYTHONPATH:/home/bob/development"
28 1 Elmer de Looff
</code></pre>