Edgewall Software

Changes between Version 42 and Version 43 of TracOnWindows


Ignore:
Timestamp:
Nov 2, 2004, 12:08:36 AM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v42 v43  
    1 == Windows Installation Instructions for Subversion w/Trac 0.6.1 ==
    2 
    3 Versions used in this example (Available 2004-05-13):
    4  * [http://httpd.apache.org/ Apache 2.0.49]
    5  * Python 2.3.3
    6  * Subversion 1.0.2
    7  * SQLite 2.8.13
    8  * PySQLite 0.5.0-py2.3
    9  * Trac 0.6.1
    10  * docutils 0.3.3
    11  * clearsilver 0.??? (TODO: please write here how to compile/install clearsilver on windows)
     1== Windows Installation Instructions for Subversion w/Trac 0.7.1 ==
     2
     3Versions used in this example (Available 2004-11-01):
     4 * [http://httpd.apache.org/ Apache 2.0.52]
     5 * Python 2.3.4
     6 * Subversion 1.1.1
     7 * SQLite 3.0.8
     8 * PySQLite 1.0-py2.3
     9 * Trac 0.7.1
     10 * docutils 0.3.5
     11 * clearsilver 0.9.12 (included in Trac .exe installer)
    1212
    1313Contact [mailto:Daragh|at|i2i-Tech.com Daragh Fitzpatrick] for more info.
     
    163163  http://pysqlite.sourceforge.net
    164164
     16500. Install ClearSilver
     166  http://www.clearsilver.net
     167  NOT necessary if you use the Trac .exe installer - go back and download it ;)
     168
    16516920. Install Trac
    166170  http://www.edgewall.com/products/trac/
     
    168172python ./setup.py install
    169173}}}
    170   (BUG) As of 20040612, Trac-win32 version 0.7.1 DOES NOT include a file called siteconfig.py, which is required for the scripts to work. There are two workarounds: 1) Install 0.7 first and then install 0.7.1 on top of it or 2) Create  c:\python23\lib\site-packages\trac\siteconfig.py (or wherever your installation is) yourself:
    171 {{{
    172 # siteconfig.py
    173 __default_templates_dir__ = r'c:\Python23\share\trac\templates'
    174 __default_htdocs_dir__ = r'c:\Python23\share\trac\htdocs'
    175 __default_wiki_dir__ = r'c:\Python23\share\trac\wiki-default'
    176 }}}
    177   Remember to correct the paths in that file! Under no circumstances should you actually *run* 0.7. This will hopefully be fixed in the next version. You will be able to change those directories later (which I'd recommend).
    178174
    179175=== Fix a few things ===
    180 21. (BUG) Edit first line of D:\Python23\Scripts\trac-admin to have:
    181 {{{
    182 
    183 #!D:\Python23\python.exe
    184 }}}
    185 
    186 22. (BUG) Edit first line of D:\Python23\share\trac\cgi-bin\trac.cgi to have:
    187 {{{
    188 
    189 #!D:\Python23\python.exe
    190 }}}
    191176
    19217723. Copy CGI
     
    194179D:\> copy d:\python23\share\trac\cgi-bin\trac.cgi d:\progra~1\apache~1\apache2\cgi-bin
    195180}}}
    196 
    197 24. (BUG) not able to run trac-admin initenv...  Not available in 0.6.1 ''(This does work in 0.7.1)
    198181
    199182=== Configure Trac DB ===
     
    222205    d:\Python23\share\trac\templates
    223206}}}
    224 (BUG) Note error message regarding wiki-pages ''(not present in my version of 0.7.1)''
    225207
    226208If you get an error here stating that libdb42.dll was not found, copy ''[SVN PATH]''\bin\libdb42.dll to ''[PYTHON PATH]''\lib\libsvn\, then try again.
     
    245227# TRAC
    246228Alias /trac "D:/Python23/share/trac/htdocs"
     229
     230<Location "/cgi-bin/trac.cgi">
     231  SetEnv TRAC_ENV "d:/svn/trac.db"
     232</Location>
     233
     234<Location "/cgi-bin/trac.cgi/login">
     235  AuthType Basic
     236  AuthName "Project"
     237  AuthUserFile D:/svn/.htaccess
     238  Require valid-user
     239</Location>
     240
    247241<Directory "D:/Python23/share/trac/htdocs">
    248242  Options Indexes MultiViews
     
    252246</Directory>
    253247
    254 <Location "/cgi-bin/trac.cgi">
    255   # For 0.7 release
    256   SetEnv TRAC_ENV "d:/svn/trac.db"
    257   # for 0.6.1 release
    258   SetEnv TRAC_DB "d:/svn/trac.db"
    259 </Location>
    260 
    261 <Location "/cgi-bin/trac.cgi/login">
    262   AuthType Basic
    263   AuthName "Project"
    264   AuthUserFile D:/svn/.htaccess
    265   Require valid-user
    266 </Location>
     248
    267249}}}
    268250