Changes between Version 42 and Version 43 of TracOnWindows
- Timestamp:
- Nov 2, 2004, 12:08:36 AM (20 years ago)
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. 36 * Subversion 1. 0.27 * SQLite 2.8.138 * PySQLite 0.5.0-py2.39 * Trac 0. 6.110 * docutils 0.3. 311 * 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 3 Versions 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) 12 12 13 13 Contact [mailto:Daragh|at|i2i-Tech.com Daragh Fitzpatrick] for more info. … … 163 163 http://pysqlite.sourceforge.net 164 164 165 00. Install ClearSilver 166 http://www.clearsilver.net 167 NOT necessary if you use the Trac .exe installer - go back and download it ;) 168 165 169 20. Install Trac 166 170 http://www.edgewall.com/products/trac/ … … 168 172 python ./setup.py install 169 173 }}} 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.py173 __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).178 174 179 175 === Fix a few things === 180 21. (BUG) Edit first line of D:\Python23\Scripts\trac-admin to have:181 {{{182 183 #!D:\Python23\python.exe184 }}}185 186 22. (BUG) Edit first line of D:\Python23\share\trac\cgi-bin\trac.cgi to have:187 {{{188 189 #!D:\Python23\python.exe190 }}}191 176 192 177 23. Copy CGI … … 194 179 D:\> copy d:\python23\share\trac\cgi-bin\trac.cgi d:\progra~1\apache~1\apache2\cgi-bin 195 180 }}} 196 197 24. (BUG) not able to run trac-admin initenv... Not available in 0.6.1 ''(This does work in 0.7.1)198 181 199 182 === Configure Trac DB === … … 222 205 d:\Python23\share\trac\templates 223 206 }}} 224 (BUG) Note error message regarding wiki-pages ''(not present in my version of 0.7.1)''225 207 226 208 If 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. … … 245 227 # TRAC 246 228 Alias /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 247 241 <Directory "D:/Python23/share/trac/htdocs"> 248 242 Options Indexes MultiViews … … 252 246 </Directory> 253 247 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 267 249 }}} 268 250