Changes between Version 13 and Version 14 of TracOnWindows/Advanced
- Timestamp:
- Mar 7, 2008, 6:28:45 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows/Advanced
v13 v14 6 6 In addition to the base packages listed in TracOnWindows, here are a few additional packages (Python or external tools) that can be used to improve the functionality offered on your Trac installation: 7 7 || Docutils || [http://belnet.dl.sourceforge.net/sourceforge/docutils/docutils-0.4.tar.gz docutils-0.4.tar.gz] || 8 9 In case you don't want to use Pygments, those are the other previously supported syntax highlighters: 8 10 || SilverCity || [http://downloads.sourceforge.net/silvercity/SilverCity-0.9.7.win32-py2.4.exe SilverCity-0.9.7.win32-py2.4.exe] (or the [http://downloads.sourceforge.net/silvercity/SilverCity-0.9.7.win32-py2.3.exe Python 2.3 version]) || 9 11 || Enscript on Windows || [http://gnuwin32.sourceforge.net/packages/enscript.htm gnuwin32 Enscript 1.6.3] || 12 (but really, why wouldn't you use Pygments?) 10 13 11 14 … … 15 18 16 19 Trac can work equally well with two different Python bindings for the PostgreSQL (8.1.4) database: 17 || [http://initd.org/tracker/psycopg PsycoPg2] || [http://stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.5.1.win32-py2.4-pg8.1.4-release.exe psycopg2-2.0.5.1.win32-py2.4-pg8.1.4-release.exe] (or the [http://stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.5.1.win32-py2.3-pg8.1.4-release.exe Python 2.3 version]) [http://stickpeople.com/projects/python/win-psycopg/ more...] ||20 || [http://initd.org/tracker/psycopg PsycoPg2] || psycopg2.0.X - ([http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.6.win32-py2.5-pg8.2.4-release.exe 2.5], [http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.6.win32-py2.4-pg8.2.4-release.exe 2.4], [http://stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.5.1.win32-py2.3-pg8.1.4-release.exe 2.3]) [http://stickpeople.com/projects/python/win-psycopg/ more...] || 18 21 || [http://pypgsql.sourceforge.net/ pyPgSQL] || [http://downloads.sourceforge.net/pypgsql/pyPgSQL-2.5.1.win32-py2.4.exe pyPgSQL-2.5.1.win32-py2.4.exe] (or the [http://downloads.sourceforge.net/pypgsql/pyPgSQL-2.5.1.win32-py2.3.exe Python 2.3 version]) [http://sourceforge.net/project/showfiles.php?group_id=16528&package_id=20458 more...] || 19 22 - Create your database with UTF8 Encoding or you could get errors; see TracEnvironment for more. … … 22 25 23 26 The recommended package for the MySqlDb Python bindings for the MySQL database is: 24 - [http://puzzle.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python.exe-1.2.1_p2.win32-py2.4.exe MySQL-python.exe-1.2.1_p2.win32-py2.4.exe].25 27 26 Please note that working with MySQL is ''not'' recommended in general, as there are still a lot of rough edges. However, on Windows the main issues we have with MySQL tend to be less apparent: the default setup for recent installations is UTF8, Windows users are unlikely to have case-sensitivity pathname issues in their repositories (as Subversion won't let them create such paths in the first place), etc. So MySQL on Windows might well be a more viable solution than on Unix, for the time being. See the MySqlDb page for more details. 28 || [http://mysql-python.sourceforge.net/ MySQL for Python] || MySQL-python-1.2.2.win32-py2.X - ([http://sourceforge.net/project/downloading.php?group_id=22307&filename=MySQL-python-1.2.2.win32-py2.5.exe 2.5], [http://sourceforge.net/project/downloading.php?group_id=22307&filename=MySQL-python-1.2.2.win32-py2.4.exe 2.4]) || 29 30 Please note that working with MySQL is ''not'' recommended in general, as there are still a lot of rough edges. However, on Windows the main issues we have with MySQL tend to be less apparent: the default setup for recent installations is UTF8, Windows users are unlikely to have case-sensitivity pathname issues in their repositories (as Subversion won't let them create such paths in the first place), etc. So MySQL on Windows might well be a more viable solution than on Unix, for the time being (and seems to work fine for me). See the MySqlDb page for more details. 27 31 28 32 … … 32 36 33 37 === Apache and `mod_python` === 34 38 ''FIXME: 3.3.1 is the recommended version'' 35 39 First you need to install the `mod_python` package. 36 40 Pick the version that is appropriate for your version of Python and your version of Apache. … … 44 48 45 49 === Apache and `mod_wsgi` === 46 50 ''FIXME: package?'' 47 51 First, you need to integrate [http://code.google.com/p/modwsgi mod_wsgi] in your Apache installation. You can find and download pre-compiled binaries for Windows [http://adal.chiriliuc.com/mod_wsgi/ here]. Choose the right one depending on the version of Apache and Python you're running. Then follow the [http://code.google.com/p/modwsgi/wiki/InstallationOnWindows installation instructions] for this module, and eventually the [wiki:"TracModWSGI"] installations instructions. The resulting configuration (from the words of `mod_wsgi` authors) is supposed to be more efficient than one using `mod_python`. 48 52