Loggerhead allows you to browser your bazaar projects on your file system. It gives you the abilities to view file changes and revision to name a few. The interface is web based and it very straight forward to set up and put behind apache.
Contents
Pre-requisites
- A running apache 2 web server.
- A running daemontools install for service management.
- The loggerhead dependancies installed (sudo aptitude install python-simpletal python-paste python-pastedeploy)
- Python install with vitualenv in it (easy_install virtualenv)
Loggerhead set up
I get the latest source code install it into /opt and create a python virtual environment. I want to isolate loggerhead from the system python so I can easily change it.
1 |
# Create a loggerhead user:
|
Daemontools loggerhead service set up
You don't have to use daemontools to run loggerhead. You can use init.d if you want to. I just like using daemontools.
1 |
# Create the daemontools run script inside the loggerhead dir.
|
Apache2 basic auth and Loggerhead set up
The choice of web server is up to you. I use Apache a lot so I hooking this in was fairly straight forward.
1 |
# Now edit apache configuration for my site to access the branches/ under my domain and protect it
|