bloodhound-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject THANK Jared Duncan PLEASE add this to the official Documentation
Date Wed, 25 Sep 2013 22:36:07 GMT
Here is the list of commands I used, which might be helpful in updating the


mkdir /var/www/
cd !$
tar zxvf /usr/local/src/apache-bloodhound-0.7.tar.gz
mv apache-bloodhound-0.7/ src
cd src/installer/
virtualenv --system-site-packages ../../python-virtualenv
. !$/bin/activate
pip install -r requirements.txt
python --environments_directory=../../env -d sqlite
--project=<env name> --default-product-prefix=<prefix> --admin-user=<admin
tracd --port=8000 /var/www/<env name>
trac-admin ../../env/<env name>/ # modify components, versions, milestones
trac-admin /var/www/<env name>/ deploy /var/www/
# and now, to run via apache...
sudo useradd bloodhound
cd /var/www/
sudo chown -R bloodhound.www-data env www python-virtualenv
sudo chmod -R ug+r env www python-virtualenv
sudo chmod -R ug+w env
vi /etc/apache2/sites-available/
sudo a2ensite
sudo apache2ctl graceful


...and the contents of my /etc/apache2/sites-available/ file:


<VirtualHost *:80>

     LogLevel warn
     ErrorLog /var/log/apache2/
     CustomLog /var/log/apache2/ combined

     WSGIDaemonProcess bh_tracker user=bloodhound python-path=/var/www/
     WSGIScriptAlias / /var/www/
     <Directory /var/www/>
         WSGIProcessGroup bh_tracker
         WSGIApplicationGroup %{GLOBAL}
         Order deny,allow
         Allow from all
     <LocationMatch "/[^/]+/login">
         AuthType Digest
         AuthName "Bloodhound"
         AuthDigestDomain /
         AuthUserFile /var/www/<env
         Require valid-user



Please add this helpfull advices, there are too many things untold in the official how to.

The software is powerfull and help the user base should be great.

Thank you all

View raw message