Project

General

Profile

Installation » History » Version 2

Version 1 (Elmer de Looff, 2012-06-05 10:59) → Version 2/9 (Elmer de Looff, 2012-06-05 12:15)

h1. Installation

µWeb is developed on, and intended primarily to run on Debian Linux. For now, these instructions will cater to that operating system mainly.

h2. Packages

µWeb requires the following packages to be present

* @python-decorator@
* @python-lockfile@
* @python-mysqldb@
*
@python-openid@
* @python-simplejson@
* @python-tz@

Installing these can be done using @apt@, as follows:

<pre><code class="bash">
sudo apt-get install python-lockfile python-decorator python-lockfile python-mysqldb python-tz python-simplejson python-openid python-simplejson python-tz

</code></pre>

h2. Python path

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.

This can be achieved by adding the following to your @.bashrc@:
<pre><code class="bash">
export PYTHONPATH="$PYTHONPATH:/home/bob/development"
</code></pre>