Not so easy on a shared host:
First, get bazaar. Because we have no gcc ability, we need to set up a config file to change some values in. First create ~/.pydistutils.cfg. You need to add the lines:
[build_ext] allow-python-fallback=1
This now allows us to build bazaar:
easy_install --prefix=~ bzrWith Bazaar installed fetch the latest version of trac-bzr:
bzr branch lp:trac-bzrYou then need to set it up. Navigate to the trac-bzr folder and run:
python setup.py install --prefix=~
Once installed, you need to add/change some lines in your trac.ini file.
Add tracbzr.* = enabled
To the components section and
Change repository_dir = /your/repository/location repository_type = bzr
Once that is complete, you need to get the stuff into your repository. First run bzr repo-init and then change to your working repository and run bzr push sftp:/location/of/repo.