Changes between Version 340 and Version 341 of TracInstall
- Timestamp:
- Feb 28, 2011, 12:01:44 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v340 v341 103 103 Alternatively you configure Trac to run in any of the following environments. 104 104 * [http://httpd.apache.org/ Apache] with 105 - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] and 106 http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac 107 - [http://modpython.org/ mod_python 3.3.1], deprecated: see TracModPython) 108 * a [http://www.fastcgi.com/ FastCGI]-capable web server (see TracFastCgi) 109 * an [http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html AJP]-capable web 110 server (see [trac:TracOnWindowsIisAjp]) 111 * a CGI-capable web server (see TracCgi), '''but usage of Trac as a cgi script 112 is highly discouraged''', better use one of the previous options. 105 - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] (preferred) 106 - //[http://modpython.org/ mod_python 3.3.1], see TracModPython (deprecated)// 107 * any [http://www.fastcgi.com/ FastCGI]-capable web server, see TracFastCgi 108 * any [http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html AJP]-capable web 109 server, see [trac:TracOnWindowsIisAjp] 110 * //as a last resort, a CGI-capable web server (see TracCgi), but usage of Trac as a cgi script 111 is highly discouraged, better use one of the previous options.// 113 112 114 113 115 114 ==== Other Python Packages ==== 116 115 117 * [http://babel.edgewall.org Babel], version >=0.9.5,116 * [http://babel.edgewall.org Babel], version 0.9.5, 118 117 needed for localization support[[BR]] 119 118 ''Note: '' If you want to be able to use the Trac interface in other languages, then make sure you first have installed the optional package Babel. Lacking Babel, you will only get the default english version, as usual. If you install Babel later on, you will need to re-install Trac. … … 141 140 A few examples: 142 141 143 - first install of the latest stable version Trac 0.12. 1, with i18n support:142 - first install of the latest stable version Trac 0.12.2, with i18n support: 144 143 {{{ 145 easy_install Babel==0.9.5 Genshi==0.6144 easy_install Babel==0.9.5 146 145 easy_install Trac 147 146 }}} … … 163 162 If you want more control, you can download the source in archive form, or do a checkout from one of the official [[Trac:TracRepositories|source code repositories]]. 164 163 165 Be sure to have the prerequisites already installed. You can also obtain the Genshi and Babel source packages from http://www.edgewall.org and follow for them a similar installation procedure, or you can just easy_installthose, see [#Usingeasy_install above].164 Be sure to have the prerequisites already installed. You can also obtain the Genshi and Babel source packages from http://www.edgewall.org and follow for them a similar installation procedure, or you can just `easy_install` those, see [#Usingeasy_install above]. 166 165 167 166 Once you've unpacked the Trac archive or performed the checkout, move in the top-level folder and do: … … 170 169 }}} 171 170 172 ''You'll need root permissions or equivalent for this step.'' 171 You'll need root permissions or equivalent for this step. 173 172 174 173 This will byte-compile the python source code and install it as an .egg file or folder in the `site-packages` directory … … 185 184 === Advanced Options === 186 185 186 ==== Custom location with `easy_install` 187 187 188 To install Trac to a custom location, or find out about other advanced installation options, run: 188 189 {{{ … … 204 205 The above will place your `tracd` and `trac-admin` commands into `/usr/local/bin` and will install the Trac libraries and dependencies into `/Library/Python/2.5/site-packages`, which is Apple's preferred location for third-party Python application installations. 205 206 206 === Using `pip`207 ==== Using `pip` 207 208 'pip' is an easy_install replacement that is very useful to quickly install python packages. 208 209 To get a trac installation up and running in less than 5 minutes: