Changes between Version 182 and Version 183 of TracInstall
- Timestamp:
- Aug 28, 2006, 3:02:29 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v182 v183 2 2 [[TracGuideToc]] 3 3 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.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 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. … … 11 11 12 12 * [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.14 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 15 * [http://www.clearsilver.net/ ClearSilver], version >= 0.9.3 16 16 * With python-bindings (`./configure --with-python=/usr/bin/python`) … … 18 18 The database can be either SQLite, PostgreSQL or MySQL ''(experimental)''. 19 19 20 ''Note: As of Trac 0.10, Subversion is not a mandatory requirement anymore.''21 22 20 === For SQLite === 23 21 24 22 * [http://www.sqlite.org/ SQLite], version 2.8.x or 3.x (preferred) 25 * The python bindings for the above, see details in PySqlite23 * [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] 26 24 27 25 ''Note: Versions of Trac prior to 0.9 do '''not''' work with PySQLite 2.x.'' … … 40 38 === For MySQL === 41 39 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 43 44 44 45 ''Note: MySQL support requires Trac version 0.10 or later.'' … … 50 51 * 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). 51 52 * 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] 53 54 54 55 ==== Web Server ==== … … 85 86 The 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. 86 87 87 === Advanced Users ===88 === Advanced Options === 88 89 89 90 To install Trac to a custom location, or find out about other advanced installation options, run: … … 92 93 }}} 93 94 95 Also see [http://docs.python.org/inst/inst.html Installing Python Modules] for detailed information. 96 94 97 Specifically, you might be interested in: 95 98 {{{ 96 $ python ./setup.py install --prefix=/path/to/ tracengine99 $ python ./setup.py install --prefix=/path/to/installdir 97 100 }}} 98 101 … … 106 109 }}} 107 110 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. 109 112 110 113 Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file. … … 130 133 == Configuring Authentication == 131 134 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 visitone of the following pages:135 The 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: 133 136 134 137 * TracStandalone if you use the standalone server, `tracd`. 135 138 * TracCgi if you use the CGI or FastCGI methods. 136 139 * 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.141 140 142 141 == Using Trac ==