Setting up Trac on Dreamhost

The following is what worked for me to get Trac up and running at Dreamhost.

trac_logoSo, I just transferred my hosting from Bluehost to Dreamhost (very happily, by the way) and was in the process of moving my SVN repos from Assembla (only because DH offers them free and unlimited, otherwise very happy with Assembla) when I figured I needed a bug tracking setup for client work.

Last night I tried a few and landed on Bug Genie. Solid interface, a little slow on the ajax (which might not be the fault of Bug Genie) but overall very good. The ajax was helpful and, in fact, I miss it in Trac, and it probably has more features that Trac.

And, I came back to Trac just because it is more common, right? But, having done my due diligence, I’m going with it.

Mostly, what I needed was Petar Marić’s dreamy-trac script. FOR REAL. I tried creamy-trac and the AutoTracOnDreamHost and they both seemed useful but lead to other problems.

So, the second thing is to add the line

password_store = HtPasswdStore

to the trac.ini file which should be at /home/<username>/trac_projects/<tracprojectname>/conf/, and change the hash_method:

hash_method = HtPasswdHashMethod

Then turn off the trac.web.auth.loginmodule and turn on the acct_mgr.web_ui.accountmodule in the [components] section of the trac.ini, like so

[components]
acct_mgr.* = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.web_ui.accountmodule = enabled
trac.web.auth.loginmodule = disabled
webadmin.* = enabled

And then, IF you want email notifications enabled smtp in the [notification] section, like so:

smtp_enabled = true

While in notifications I also set the smtp_from and smtp_replyto to a real address just for fun.

Also, I chose to use the AccountManager plugin instead of htaccess autorization so I stayed away from editing the .htaccess, but that’s my opinion.

And, that’s all I know.

Tags: , , , ,

This entry was posted on Tuesday, December 30th, 2008 at 10:15 pm by josephsong, filed under Bug Tracking, Development. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

2 Responses to “Setting up Trac on Dreamhost”

  1. The D says:

    What are you talking about? More pictures of you loving america and fruit hunting excursions please.

  2. Jorge says:

    Care to share some of the problems you encountered with Creamy-Trac? I’m having some problems with it myself :(

Leave a Reply