= Trac Standalone Server On Cygwin = [[PageOutline]] '''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 1. Downloading required binary packages and installing 1. Downloading, specifically, required source files for both SQLite and PySQLite 1. Compiling/Installing manually, with a small modification to the SQLite source for compile 1. Retrieve Trac source itself from svn trunk 1. Installing Trac 1. Creating a Project Environment 1. Running ''tracd'' the Standalone Server 1. 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]