Great, thanks I'll give it a whirl this week


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Andrew Colin Kissa
Sent: Sunday, 1 May 2011 10:10 p.m.
To: Baruwa users list
Subject: Re: [Baruwa] Empty Server Response on Quarantine Release


On 01 May 2011, at 11:56 AM, Brent Addis wrote:

> Is there a quick howto on virtualenv? I'm a python newbie.

http://www.virtualenv.org/en/latest/

virtualenv is very easy to use. The gist is:

# apt-get install python-virtualenv
# su - andrew (or whatever unprivilaged user you have on the system)
$ virtualenv py26 --clear --no-site-packages --distribute
$ source py26/bin/activate
# prompt changes to (py26)
$ tar xzvf baruwa-1.1.0.tar.gz
$ cd baruwa-1.1.0
$ python setup.py install

You have to manually install the geoip module, and then instead of
using the baruwa.wsgi file in your apache2 configuration you need
to modify and use virtual.wsgi

Also on debian they may be several versions of python installed
if so make user you use a 2.x version not a 3.x version.

Actually you can create a different virtual host and run both systems
in parallel to test before you expose the users to 1.1.0

Shout (in a new thread) if you run into any blockers.

--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to