Edgewall Software

Version 1 (modified by joymarquis@…, 13 years ago) ( diff )

Added page to describe the successful Trac Standalone install on Cygwin

Trac Standalone Server On Windows

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


Download binary packages and install


Download source files, and modify/compile/install

$ cat sqlite-3.4.0-compile-fix.patch 
--- sqlite-3.4.0/Makefile.in    2007-07-04 22:34:31.545049600 +0800
+++ tmp/sqlite-3.4.0/Makefile.in        2007-06-15 04:54:38.000000000 +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
$ ./configure --disable-tcl --enable-threadsafe
$ make install

Retrieve Trac source


Install Trac


Create Project Environment


Running the Standalone Server


Using Trac


Note: See TracWiki for help on using the wiki.