On 03 Nov 2010, at 10:21 AM, Johan Hendriks wrote: > thanks all got it working, the webgui that is. > A few things. > For someone who is not familar with python, things are really unclear. > For starters the location where the gui part is installed. > For me it is in /usr/local/lib/python2.6/site-packages/baruwa
This is dependent on your local python setup. > It gets installed in > /usr/local/lib/pytho2.6/site-packages/baruwa-1.0.0-py2.6.egg/baruwa so i > copied it to /usr/local/lib/python2.6/site-packages/baruwa > Then i needed to do a chmod +x to manage.py to make it executable. > > Maybe the install documentation can be a bit more clear where the site > needs to be copied to, or is installed. I will try and create a BSD port for this to make it easier to install on BSD, and add BSD to the documentation. > I thought it must be in a place like /usr/local/www/baruwa like the > other webpages. Not really, python web apps are basically python modules so they get installed under the site-packages dir but am sure you could install where ever you want and just set the paths. > But for python site, this is not the case. > But he! it all works, and i am trying to put mailscanner in the mix now. > > The Gui looks good.!! Glad you got it working > For the record, i installed the python packages from ports. > and this is how my setup.py looks like > > ], > install_requires=['setuptools', > 'Django>= 1.1.1', > 'MySQL-python>=1.2.1p2', > 'GeoIP-python', > 'iPy', > 'lxml', > ], Cool > > This way it all goes well.. > > thanks all for your time. You are welcome > > One more thing. > I have 3 servers doing the mailscanner part, is it possible to run the > webgui just on 1 machine, and prefferably not on any Mailscanner machine > and just on the master database server. Thats not possible with this version, part of the roadmap is to get the setup working this way. A small proxy app that can manage the queues, read service status, release messages will run on the mailscanner node. Baruwa can then be installed on one machine that communicates with the mailscanner nodes > This way making updating the mailscanner machines and there by the > baruwa package much less complicated and less prone for errors. Essentially future releases will split baruwa into two packages, the full web gui part and a smaller management engine that does the nuts and bolts work on the mailscanner node. > Thanks again.. -- Baruwa - www.baruwa.org _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa

