Changes between Version 9 and Version 10 of TracInstall
- Timestamp:
- 14/06/2017 12:47:28 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v9 v10 1 = Trac Installation Guide for 1. 11 = Trac Installation Guide for 1.2 2 2 [[TracGuideToc]] 3 3 … … 140 140 - 141 141 {{{#!sh 142 pip install trac psycopg2142 $ pip install trac psycopg2 143 143 }}} 144 144 or 145 145 - 146 146 {{{#!sh 147 pip install trac mysql-python147 $ pip install trac mysql-python 148 148 }}} 149 149 … … 186 186 To install Trac to a custom location, or find out about other advanced installation options, run: 187 187 {{{#!sh 188 easy_install --help188 $ easy_install --help 189 189 }}} 190 190 … … 193 193 Specifically, you might be interested in: 194 194 {{{#!sh 195 easy_install --prefix=/path/to/installdir195 $ easy_install --prefix=/path/to/installdir 196 196 }}} 197 197 or, if installing Trac on a Mac OS X system: 198 198 {{{#!sh 199 easy_install --prefix=/usr/local --install-dir=/Library/Python/2.6/site-packages199 $ easy_install --prefix=/usr/local --install-dir=/Library/Python/2.6/site-packages 200 200 }}} 201 201 … … 284 284 There is, however, a bit of a chicken-and-egg problem. The [TracAdmin trac-admin] command requires an existing environment to function, but complains if the deploy directory already exists. This is a problem, because environments are often stored in a subdirectory of the deploy. The solution is to do something like this: 285 285 {{{#!sh 286 mkdir -p /usr/share/trac/projects/my-project287 trac-admin /usr/share/trac/projects/my-project initenv288 trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy289 mv /tmp/deploy/* /usr/share/trac286 $ mkdir -p /usr/share/trac/projects/my-project 287 $ trac-admin /usr/share/trac/projects/my-project initenv 288 $ trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy 289 $ mv /tmp/deploy/* /usr/share/trac 290 290 }}} 291 291 Don't forget to check that the web server has the execution right on scripts in the `/usr/share/trac/cgi-bin` directory.