Installing Trac on a Dreamhost account
I had a few spare hours today and installed “Trac”:http://trac.edgewall.org/ onto my “Dreamhost”:http://www.dreamhost.com account using a “tutorial I found at Natmaster.com.”:http://natmaster.com/articles/installing_trac_0.10.php The tutorial is excellent and is mostly cut and paste. There is some editing of files though so you will need to know how to use a text editor.
There was one part of the tutorial that did not work for and that was getting dbauth up and running. The tutorial states add the following to trac.ini:
[central]
database = /home/{your username}/trac_sites/dbauth.db
envroot = /home/{your username}/trac_sites/{your trac project id}
However, Trac kept complaining that envroot was not specified in trac.ini. The only fix I could find for this was to use the following instead from the “dbauth site:”:http://www.trac-hacks.org/wiki/DbAuthPlugin
[dbauth]
database = sqlite:/home/{your username}/trac_sites/dbauth.db
envroot = /home/{your username}/trac_sites/{your trac project id}
users_table = trac_users
users_envname_field = envname
users_username_field = username
users_password_field = password
users_email_field = email
perms_table = trac_permissions
perms_envname_field = envname
perms_username_field = username
perms_groupname_field = groupname
cookies_table = trac_cookies
cookies_envname_field = envname
cookies_cookie_field = cookie
cookies_username_field = username
cookies_ipnr_field = ipnr
cookies_unixtime_field = unixtime
I am not sure how much of this is needed though. My problem may have stemmed from the fact that I was unable to download the version specified in the tutorial and had to get the plug-in manually. Although, the version I downloaded was 0.10.
Now to learn how to use the software.