| 1 | = Trac Standalone Server On Windows = |
| 2 | [[PageOutline(2-4)]] |
| 3 | '''Note: Instructions below are written for Trac 0.11svn''' |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | |
| 8 | This short guide takes you through these steps: |
| 9 | |
| 10 | 1. Checking and updating the required Cygwin packet with proper version |
| 11 | 1. Downloading required binary packages and installing |
| 12 | 1. Downloading, specifically, required source files for both SQLite and PySQLite |
| 13 | 1. Compiling/Installing manually, with a small modification to the SQLite source for compile |
| 14 | 1. Retrieve Trac source itself from svn trunk |
| 15 | 1. Installing Trac |
| 16 | 1. Creating a Project Environment |
| 17 | 1. Running ''tracd'' the Standalone Server |
| 18 | 1. Using Trac (Subversion usage may need attention, see details below) |
| 19 | |
| 20 | == Check Cygwin installation == |
| 21 | [TODO] |
| 22 | |
| 23 | == Download binary packages and install == |
| 24 | [TODO] |
| 25 | |
| 26 | == Download source files, and modify/compile/install == |
| 27 | {{{ |
| 28 | $ cat sqlite-3.4.0-compile-fix.patch |
| 29 | --- sqlite-3.4.0/Makefile.in 2007-07-04 22:34:31.545049600 +0800 |
| 30 | +++ tmp/sqlite-3.4.0/Makefile.in 2007-06-15 04:54:38.000000000 +0800 |
| 31 | @@ -310,8 +310,8 @@ |
| 32 | rm tsrc/sqlite.h.in tsrc/parse.y |
| 33 | cp parse.c opcodes.c keywordhash.h tsrc |
| 34 | |
| 35 | -sqlite3.c: target_source $(TOP)/tool/mksqlite3c.tcl |
| 36 | - tclsh $(TOP)/tool/mksqlite3c.tcl |
| 37 | +#sqlite3.c: target_source $(TOP)/tool/mksqlite3c.tcl |
| 38 | +# tclsh $(TOP)/tool/mksqlite3c.tcl |
| 39 | |
| 40 | # Rules to build the LEMON compiler generator |
| 41 | # |
| 42 | $ ./configure --disable-tcl --enable-threadsafe |
| 43 | $ make install |
| 44 | }}} |
| 45 | == Retrieve Trac source == |
| 46 | [TODO] |
| 47 | |
| 48 | == Install Trac == |
| 49 | [TODO] |
| 50 | |
| 51 | == Create Project Environment == |
| 52 | [TODO] |
| 53 | |
| 54 | == Running the Standalone Server == |
| 55 | [TODO] |
| 56 | |
| 57 | == Using Trac == |
| 58 | [TODO] |
| 59 | |