Edgewall Software

Changes between Version 11 and Version 12 of 0.12/TracInstall


Ignore:
Timestamp:
Feb 3, 2010, 11:26:04 AM (14 years ago)
Author:
Christian Boos
Comment:

updated the intro and #Prerequisites section

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracInstall

    v11 v12  
    99Trac is written in the Python programming language and needs a database, [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL]. For HTML rendering, Trac uses the [http://genshi.edgewall.org Genshi] templating system.
    1010
    11 Since version 0.12, Trac can also be localized, and there's probably a translation available for your language. If you want to be able to use the Trac interface in other languages, then make sure you have installed the optional package [#OtherPythonPackages Babel]. Pay attention to the extra steps for localization support in the [#InstallingTrac Installing Trac] section below. Note Trac can still be installed without Babel, but then you will only get the default english version, as usual.
     11Since version 0.12, Trac can also be localized, and there's probably a translation available for your language. If you want to be able to use the Trac interface in other languages, then make sure you have installed the optional package [#OtherPythonPackages Babel]. Pay attention to the extra steps for localization support in the [#InstallingTrac Installing Trac] section below. Lacking Babel, you will only get the default english version, as usual.
    1212
    1313If you're interested in contributing new translations for other languages or enhance the existing translations, then please have a look at ["TracL10N"].
     
    1717
    1818== Prerequisites ==
    19 
     19=== Mandatory Prerequisites
    2020To install Trac, the following software packages must be installed:
    2121
    2222 * [http://www.python.org/ Python], version >= 2.4 (we dropped the support for Python 2.3 in this release)
    2323 * [http://peak.telecommunity.com/DevCenter/setuptools setuptools], version >= 0.6
    24  * [http://genshi.edgewall.org/wiki/Download Genshi], [genshi:source:trunk trunk], from svn, minimum required revision is [G1072].
    25  * You also need a database system and the corresponding python drivers for it.
    26    The database can be either SQLite, PostgreSQL or MySQL.
    27 
    28 === For SQLite ===
     24 * [http://genshi.edgewall.org/wiki/Download Genshi], [genshi:source:trunk trunk], from svn, minimum required revision is [G1072], current [G1092] works fine as well.
     25
     26You also need a database system and the corresponding python bindings.
     27The database can be either SQLite, PostgreSQL or MySQL.
     28
     29==== For the SQLite database #ForSQLite
    2930
    3031If you're using Python 2.5 or 2.6, you already have everything you need.
     
    4748See additional information in [trac:PySqlite PySqlite].
    4849
    49 === For PostgreSQL ===
     50==== For the PostgreSQL database #ForPostgreSQL
    5051
    5152You need to install the database and its Python bindings:
    5253 * [http://www.postgresql.org/ PostgreSQL]
    53  * [http://initd.org/projects/psycopg2 psycopg2]
    54 
    55 See [trac:DatabaseBackend#Postgresql DatabaseBackend] for details
    56 
    57 
    58 === For MySQL ===
     54 * [http://pypi.python.org/pypi/psycopg2 psycopg2]
     55
     56See [trac:DatabaseBackend#Postgresql DatabaseBackend] for details.
     57
     58
     59==== For the MySQL database #ForMySQL
    5960
    6061Trac can now work quite well with MySQL, provided you follow the guidelines.
     
    6364 * [http://sf.net/projects/mysql-python MySQLdb], version 1.2.2 or later
    6465
    65 See [trac:MySqlDb MySqlDb] for more detailed information.
    66 It is ''very'' important to read carefully that page before creating the database.
    67 
    68 === Optional Requirements ===
     66It is '''very''' important to read carefully the  [trac:MySqlDb MySqlDb] page before creating the database.
     67
     68=== Optional Prerequisites
    6969
    7070==== Version Control System ====
    7171
    7272===== Subversion =====
    73 '''Please note:''' if using Subversion, Trac must be installed on the '''same machine'''. Remote repositories are currently not supported.
    74 
    75  * [http://subversion.tigris.org/ Subversion], version >= 1.0. (versions recommended: 1.2.4, 1.3.2 or 1.4.2) and the '''''corresponding''''' Python bindings. For troubleshooting, check [trac:TracSubversion TracSubversion]
    76    [[br]] ''FIXME'' upgrade the requirements; it makes no sense to still support 1.0 or even 1.3, as Subversion itself only still supports 1.4.x
    77    * Trac uses the [http://svnbook.red-bean.com/svnbook-1.1/ch08s02.html#svn-ch-8-sect-2.3 SWIG] bindings included in the Subversion distribution, '''not''' [http://pysvn.tigris.org/ PySVN] (which is sometimes confused with the standard SWIG bindings), neither does it support the newer `ctype`-style bindings
    78    * If Subversion was already installed without the SWIG bindings, on Unix you'll need to re-`configure` Subversion and `make swig-py`, `make install-swig-py`.
    79    * There are [http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 pre-compiled bindings] available for win32.
     73 * [http://subversion.apache.org/ Subversion], 1.5.x or 1.6.x and the '''''corresponding''''' Python bindings. Actually older versions starting from 1.0, like 1.2.4, 1.3.2 or 1.4.2, etc. should still work. For troubleshooting information, check the [trac:TracSubversion#Troubleshooting TracSubversion] page/
     74
     75There are [http://subversion.apache.org/packages.html pre-compiled SWIG bindings] available for various platforms. Note that Trac '''doesn't''' use [http://pysvn.tigris.org/ PySVN], neither does it work yet with the newer `ctype`-style bindings
     76
     77
     78'''Please note:''' if using Subversion, Trac must be installed on the '''same machine'''. Remote repositories are currently [trac:ticket:493 not supported].
     79
    8080
    8181===== Others =====
     
    9090   server (see [trac:TracOnWindowsIisAjp TracOnWindowsIisAjp]), or
    9191 * [http://httpd.apache.org/ Apache] with
    92    - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] or
     92   - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] and
    9393     http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac
    9494   - [http://modpython.org/ mod_python 3.3.1], see TracModPython)