Edgewall Software

Trac Standalone Server On Cygwin

Note: Instructions below are written for Trac 0.11svn

This setup uses the tracd stand alone server and does not require installation and configuration of a separate webserver like Apache. To read about the pro's and con's of a tracd based install compared to other options see the generic TracStandalone page.

This short guide takes you through these steps:

  1. Checking and updating the required Cygwin packet with proper version
  2. Downloading required binary packages and installing
  3. Downloading, specifically, required source files for both SQLite and PySQLite
  4. Compiling/Installing manually, with a small modification to the SQLite source for compile
  5. Retrieve Trac source itself from svn trunk
  6. Installing Trac
  7. Creating a Project Environment
  8. Running tracd the Standalone Server
  9. Using Trac (Subversion usage may need attention, see details below)

Check Cygwin installation

[TODO]

Download binary packages and install

[TODO]

Download source files, and modify/compile/install

  • SQLite: sqlite-3.4.0.tar.gz
    $ cat sqlite-3.4.0-compile-fix.patch
    --- tmp/sqlite-3.4.0/Makefile.in        2007-06-15 04:54:38.000000000 +0800
    +++ sqlite-3.4.0/Makefile.in    2007-07-04 22:34:31.545049600 +0800
    @@ -310,8 +310,8 @@
            rm tsrc/sqlite.h.in tsrc/parse.y
            cp parse.c opcodes.c keywordhash.h tsrc
     
    -sqlite3.c:    target_source $(TOP)/tool/mksqlite3c.tcl
    -      tclsh $(TOP)/tool/mksqlite3c.tcl
    +#sqlite3.c:     target_source $(TOP)/tool/mksqlite3c.tcl
    +#       tclsh $(TOP)/tool/mksqlite3c.tcl
     
     # Rules to build the LEMON compiler generator
     #
    $ cd /PATH/TO/sqlite-3.4.0
    $ # Apply the patch sqlite-3.4.0-compile-fix.patch
    $ ./configure --disable-tcl --enable-threadsafe
    $ make install
    
  • PySQLite: pysqlite-2.3.4.tar.gz

Retrieve Trac source

[TODO]

Install Trac

[TODO]

Create Project Environment

[TODO]

Running the Standalone Server

[TODO]

Using Trac

[TODO]

Last modified 17 years ago Last modified on Jul 25, 2007, 3:08:38 PM
Note: See TracWiki for help on using the wiki.