Changes between Version 190 and Version 191 of TracInstall
- Timestamp:
- Oct 14, 2006, 5:41:13 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v190 v191 4 4 Trac is a lightweight project management tool that is implemented as a web-based application. Trac is written in the Python programming language and needs a database (either [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL] works). For HTML rendering, Trac uses the [http://www.clearsilver.net/ ClearSilver] templating system. 5 5 6 What follows are generic instructions for installing and setting up Trac and its requirements. While you can find instructions for installing Trac on specific systems at [http://projects.edgewall.com/trac/wiki/TracInstallPlatforms TracInstallPlatforms] on the main Trac site, please be sure to first read through these general instructionsto get a good understanding of the tasks involved.6 What follows are generic instructions for installing and setting up Trac and its requirements. While you can find instructions for installing Trac on specific systems at [http://projects.edgewall.com/trac/wiki/TracInstallPlatforms TracInstallPlatforms] on the main Trac site, please be sure to '''first read through these general instructions''' to get a good understanding of the tasks involved. 7 7 8 8 == Requirements == … … 12 12 * [http://www.python.org/ Python], version >= 2.3. 13 13 * For RPM-based systems you might also need the `python-devel` and `python-xml` packages. 14 * If you want to use Trac with Subversion on Windows, note that there are no precompiled Subversion bindings for Python 2.4, so you probably need Python 2.3.15 * 2006-09-20: This seems to be no longer true, see http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91. For subversion 1.4.0 python 2.4 binary bindings are available.16 14 * ClearSilver and Python 2.5 don't seem to get along, so you'll probably have more luck with Python 2.4. Note about it in [http://www.mail-archive.com/trac-dev@googlegroups.com/msg00034.html this mail exchange]. 17 ''To follow-up on that thread, with Trac 0.11dev (i.e. current trunk since r3832), Clearsilver is no longer needed. Yay. [[br]]-- ChristianBoos''15 ''To follow-up on that thread, with Trac 0.11dev (i.e. current trunk since r3832), Clearsilver is no longer needed. Yay. See instructions in ["TracOnWindows/Python2.5"] [[br]] -- ChristianBoos'' 18 16 * [http://www.clearsilver.net/ ClearSilver], version >= 0.9.3 19 17 * With python-bindings (`./configure --with-python=/usr/bin/python`) 20 18 * You also need a database system and the corresponding python drivers for it. 21 The database can be either SQLite, PostgreSQL or MySQL ''(experimental)''.19 The database can be either SQLite, PostgreSQL or ''MySQL (experimental)''. 22 20 23 21 === For SQLite === 24 22 25 * [http://www.sqlite.org/ SQLite], version 2.8.x or 3.x (preferred)26 * [http://pysqlite.org/ PySQLite], version 1.x (for SQLite 2.x) or version 2.x (for SQLite 3.x) . For details see [http://trac.edgewall.org/wiki/PySqlite PySqlite]23 * [http://www.sqlite.org/ SQLite], version 3.3.4 and above preferred. 24 * [http://pysqlite.org/ PySQLite], version 1.x (for SQLite 2.x) or version 2.x (for SQLite 3.x), version 2.3.2 preferred. For details see [http://trac.edgewall.org/wiki/PySqlite PySqlite] 27 25 28 26 ''Note: Versions of Trac prior to 0.9 do '''not''' work with PySQLite 2.x.'' … … 46 44 * [http://sf.net/projects/mysql-python MySQLdb], version 1.2.1 or later 47 45 48 ''Note: MySQL support requires Trac version 0.10 or later .''46 ''Note: MySQL support requires Trac version 0.10 or later (the upcoming [milestone:0.10.1] will contain a lot of MySQL specific fixes)'' 49 47 50 48 === Optional Requirements === 51 49 52 50 ==== Version Control System ==== 53 * [http://subversion.tigris.org/ Subversion], version >= 1.0. (either 1.2.3 or >= 1.3.1 recommended) and corresponding [http://svnbook.red-bean.com/svnbook-1.1/ch08s02.html#svn-ch-8-sect-2.3 Python bindings]. For troubleshooting, check [http://projects.edgewall.com/trac/wiki/TracSubversion TracSubversion] 54 * Trac uses the [http://www.swig.org/ SWIG] bindings included in the Subversion distribution, '''not''' [http://pysvn.tigris.org/ PySVN] (which is sometimes confused with the standard SWIG bindings). 55 * If Subversion was already installed without the SWIG bindings, you'll need to re-`configure` Subversion and `make swig-py`, `make install-swig-py`. 51 * [http://subversion.tigris.org/ Subversion], version >= 1.0. (versions recommended: 1.2.4, 1.3.2 or 1.4.0) and the ''corresponding'' Python bindings. For troubleshooting, check [http://projects.edgewall.com/trac/wiki/TracSubversion TracSubversion] 52 * 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). 53 * 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`. 54 * There are [http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 pre-compiled bindings] available for win32. 56 55 * Support for other version control systems is provided via third-parties. See [http://projects.edgewall.com/trac/wiki/PluginList PluginList] and [http://projects.edgewall.com/trac/wiki/VersioningSystemBackend VersioningSystemBackend]. 57 56 … … 72 71 '''Attention''': The various available versions of these dependencies are not necessarily interchangable, so please pay attention to the version numbers above. If you are having trouble getting Trac to work please double-check all the dependencies before asking for help on the [http://projects.edgewall.com/trac/wiki/MailingList MailingList] or [http://projects.edgewall.com/trac/wiki/IrcChannel IrcChannel]. 73 72 74 Please refer to the documentation of these packages to find out how they are best installed. In addition, most of the [http://projects.edgewall.com/trac/wiki/TracInstallPlatforms platform-specific instructions] also describe the installation of the dependencies. Keep in mind however that the information there might concern older versions of Trac than the one you're installing (in particular, 75 there are still some pages that are about Trac 0.8). 73 Please refer to the documentation of these packages to find out how they are best installed. In addition, most of the [http://projects.edgewall.com/trac/wiki/TracInstallPlatforms platform-specific instructions] also describe the installation of the dependencies. Keep in mind however that the information there ''probably concern older versions of Trac than the one you're installing'' (there are even some pages that are still talking about Trac 0.8!). 76 74 77 75 == Installing Trac ==