Trac on OSX Leopard
- Use svn 1.44′s svnadmin to create repository
- Use Macport to install python 2.6 and its subversion bindings
- cp /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/admin/templates/deploy_trac.fcgi /Library/WebServer/CGI-Executables/deploy_trac.fcgi
- edit /Library/WebServer/CGI-Executables/deploy_trac.fcgi and add in #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python on first line
- Follow ‘Configure Apache to run TRAC using FastCGI’ section in Installing a Secure Subversion Server on Leopard
- Add a plist:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>UserName</key>
<string>root</string>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>svnserve.plist</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/svnserve</string>
<string>-d</string>
<string>-r</string>
<string>/var/svn</string>
</array>
</dict>
</plist>
Very PITA at some steps.
Got anything to say? Go ahead and leave a comment!
Categories
- Bioinformatics (1)
- 當我們同宅一起 (12)
- Family (16)
- Footprints + Diary (150)
- 2005 Summer Road Trip (9)
- 2005 X'Mas Seattle (8)
- 2006 Summer (14)
- 2006 Winter Caribbean (1)
- College (Mesa) (2)
- College (UCSD) (23)
- High School (US) (2)
- Recreation (8)
- Fun+Humor (32)
- Interests (10)
- IT (98)
- recipe (1)
- Reflection (37)
- Server Diary (37)
- ffmud.net (1)
- lmj.tw (3)
- slicehost (1)
- tarotoast.com (11)
- twfamily.org (2)
- tworz.org (1)
- software (1)

Posted under: