10/02/2009 4:45 PM

Setup Instructions

This set up assumes you have all the setup files:


  • Create dir C:\Repository
  • Create dir C:\Repository\svn
  • Create dir C:\Repository\trac.db

make sure that java is installed on the machine

Setup Apache 2.0

  • stop IIS (IIS Admin under services)
  • run the set up MSI
  • change apache to run on port 81 (edit Listen line to say 'Listen 81')
  • restart apache
  • restart IIS Admin (and possibly World Wide Web Publishing)

Setup SVN 1.4.0

  • Unzip Subversion zip to c:\Program Files\Subversion
  • add subversion bin to the path
    • My Computer -> Properties -> Advnaced -> Enviroment Variables
    • select Path from System variables
    • add ';c:\Program Files\Subversion\bin' to the end

Configure Apache

  • copy *.so files from Subversion dir to apache modules dir
  • add to apache modules dir
  • add the following lines to httpd.conf
    #webDAV LoadModule dav_module modules/ LoadModule dav_fs_module modules/ # Subversion LoadModule dav_svn_module modules/ LoadModule authz_svn_module modules/  #make sure this is before 'LoadModule auth_module modules/' LoadModule sspi_auth_module modules/   # Subversion <Location /svn>   DAV svn   # any /svn/foo URL will map to a repository C:/Repository/svn/foo   # I've only got it working using SVNPath!!   SVNPath C:/Repository/svn   AuthType SSPI   SSPIAuth On   SSPIAuthoritative On   SSPIDomain <domaincontroller>   SSPIOfferBasic On   Require valid-user </Location>  AddHandler cgi-script .cgi 

Setup Python 2.4

  • Run python 2.4 MSI
  • run svn-python exe
  • run mod_python exe
  • run pysqlite exe
  • run clearsilver exe
  • run the file

Setup Trac

  • run trac setup exe
  • Run trac-admin
    • C:\Python24> python scripts/trac-admin c:/Repository/trac.db
    • Trac /Repository/trac.db> initenv
      Enter project name: ATD Development Database connection string [sqlite:db/trac.db]> (Just press enter to accept default) Enter path to repository: c:\Repository\svn Enter path to templates> (Just press enter to accept default) 
    • Trac /Repository/trac.db> permissions add am\\ TRAC_ADMIN
  • create dir C:\Python24\share\trac\cache
  • add the following the the apache config:
    LoadModule python_module modules/  <Location /trac>    SetHandler mod_python    PythonHandler trac.web.modpython_frontend     PythonOption TracEnv c:\Repository\trac.db    PythonOption TracUriRoot /trac    SetEnv PYTHON_EGG_CACHE C:\Python24\share\trac\cache </Location>  <Location /trac/login>   #NT Domain auth config   AuthType SSPI   SSPIAuth On   SSPIAuthoritative On   SSPIOfferBasic On    SSPIOmitDomain Off   # following line squishes bug #1168 if IE has troubles editing wiki pages.      SSPIBasicPreferred On    AuthName &#34;Project&#34;   Require valid-user </Location> 
  • move the webadmin zip to C:\Repository\trac.db\plugins and remove the ".zip"
Home: WikiStart
What's new: Recently changed articles
You can subscribe to this wiki article using an RSS feed reader.