Edgewall Software

Changes between Version 182 and Version 183 of TracInstall


Ignore:
Timestamp:
Aug 28, 2006, 3:02:29 PM (18 years ago)
Author:
Christopher Lenz
Comment:

Corrections

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v182 v183  
    22[[TracGuideToc]]
    33
    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] or [http://www.postgresql.org/ PostgreSQL] works). For HTML rendering, Trac uses the [http://www.clearsilver.net/ Clearsilver] templating system.
     4Trac 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.
    55
    66What 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.
     
    1111
    1212 * [http://www.python.org/ Python], version >= 2.3.
    13    * Python 2.4 is not supported on Windows since there are no Subversion bindings available for it.
    1413   * 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.
    1515 * [http://www.clearsilver.net/ ClearSilver], version >= 0.9.3
    1616   * With python-bindings (`./configure --with-python=/usr/bin/python`)
     
    1818   The database can be either SQLite, PostgreSQL or MySQL ''(experimental)''.
    1919
    20 ''Note: As of Trac 0.10, Subversion is not a mandatory requirement anymore.''
    21 
    2220=== For SQLite ===
    2321
    2422 * [http://www.sqlite.org/ SQLite], version 2.8.x or 3.x (preferred)
    25  * The python bindings for the above, see details in PySqlite
     23 * [http://pysqlite.initd.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]
    2624
    2725''Note: Versions of Trac prior to 0.9 do '''not''' work with PySQLite 2.x.''
     
    4038=== For MySQL ===
    4139
    42  * [http://sf.net/projects/mysql-python MySQLdb] >= 1.2.1
     40'''Warning''': MySQL support is currently experimental. That means it works for some people, but has not been tested extensively yet.
     41
     42 * [http://mysql.com/ MySQL], version 4.1 or later
     43 * [http://sf.net/projects/mysql-python MySQLdb], version 1.2.1 or later
    4344
    4445''Note: MySQL support requires Trac version 0.10 or later.''
     
    5051   * 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).
    5152   * If Subversion was already installed without the SWIG bindings, you'll need to re-`configure` Subversion and `make swig-py`, `make install-swig-py`.
    52  * Other systems are being actively worked on; check [http://projects.edgewall.com/trac/wiki/VersioningSystemBackend VersioningSystemBackend]
     53 * Support for other version control systems is provided via third-party. See [http://projects.edgewall.com/trac/wiki/VersioningSystemBackend PluginList] and [http://projects.edgewall.com/trac/wiki/VersioningSystemBackend VersioningSystemBackend]
    5354
    5455==== Web Server ====
     
    8586The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain [wiki:TracEnvironment project environments], as well as the [wiki:TracStandalone tracd] standalone server.
    8687
    87 === Advanced Users ===
     88=== Advanced Options ===
    8889
    8990To install Trac to a custom location, or find out about other advanced installation options, run:
     
    9293}}}
    9394
     95Also see [http://docs.python.org/inst/inst.html Installing Python Modules] for detailed information.
     96
    9497Specifically, you might be interested in:
    9598{{{
    96 $ python ./setup.py install --prefix=/path/to/tracengine
     99$ python ./setup.py install --prefix=/path/to/installdir
    97100}}}
    98101
     
    106109}}}
    107110
    108 [wiki:TracAdmin trac-admin] will prompt you for the information it needs to create the environment, such as the name of the project, the type and the path to an existing [wiki:TracEnvironment#SourceCodeRepository source code repository], the [wiki:TracEnvironment#DatabaseConnectionStrings database connection string], and so on. If you're not sure what to specify for one of these options, just leave it blank to use the default value. The database connection string in particular will always work as long as you have SQLite installed. The only option where the default value is likely to not work is the path to the Subversion repository, so make sure that one's correct.
     111[wiki:TracAdmin trac-admin] will prompt you for the information it needs to create the environment, such as the name of the project, the type and the path to an existing [wiki:TracEnvironment#SourceCodeRepository source code repository], the [wiki:TracEnvironment#DatabaseConnectionStrings database connection string], and so on. If you're not sure what to specify for one of these options, just leave it blank to use the default value. The database connection string in particular will always work as long as you have SQLite installed. Leaving the path to the source code repository empty will disable any functionality related to version control, but you can always add that back when the basic system is running.
    109112
    110113Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file.
     
    130133== Configuring Authentication ==
    131134
    132 The process of adding, removing, and configuring user accounts for authentication depends on the specific way you run Trac.  To learn about how to accomplish these tasks, please visit one of the following pages:
     135The process of adding, removing, and configuring user accounts for authentication depends on the specific way you run Trac. The basic procedure is described in the [wiki:TracCgi#AddingAuthentication "Adding Authentication"] section on the TracCgi page. To learn how to setup authentication for the frontend you're using, please refer to one of the following pages:
    133136
    134137 * TracStandalone if you use the standalone server, `tracd`.
    135138 * TracCgi if you use the CGI or FastCGI methods.
    136139 * TracModPython if you use the mod_python method.
    137 
    138 == Platform Specific Installation Instructions ==
    139 
    140 Please note that you can find more detailed instructions for installing Trac on your specific system or platform at [http://projects.edgewall.com/trac/wiki/TracInstallPlatforms TracInstallPlatforms] on the main Trac site.
    141140
    142141== Using Trac ==