Changes between Version 430 and Version 431 of TracInstall
- Timestamp:
- Nov 14, 2016, 5:40:19 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v430 v431 141 141 - 142 142 {{{#!sh 143 pip install trac psycopg2143 $ pip install trac psycopg2 144 144 }}} 145 145 or 146 146 - 147 147 {{{#!sh 148 pip install trac mysql-python148 $ pip install trac mysql-python 149 149 }}} 150 150 … … 187 187 To install Trac to a custom location, or find out about other advanced installation options, run: 188 188 {{{#!sh 189 easy_install --help189 $ easy_install --help 190 190 }}} 191 191 … … 194 194 Specifically, you might be interested in: 195 195 {{{#!sh 196 easy_install --prefix=/path/to/installdir196 $ easy_install --prefix=/path/to/installdir 197 197 }}} 198 198 or, if installing Trac on a Mac OS X system: 199 199 {{{#!sh 200 easy_install --prefix=/usr/local --install-dir=/Library/Python/2.6/site-packages200 $ easy_install --prefix=/usr/local --install-dir=/Library/Python/2.6/site-packages 201 201 }}} 202 202 … … 285 285 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: 286 286 {{{#!sh 287 mkdir -p /usr/share/trac/projects/my-project288 trac-admin /usr/share/trac/projects/my-project initenv289 trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy290 mv /tmp/deploy/* /usr/share/trac287 $ mkdir -p /usr/share/trac/projects/my-project 288 $ trac-admin /usr/share/trac/projects/my-project initenv 289 $ trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy 290 $ mv /tmp/deploy/* /usr/share/trac 291 291 }}} 292 292 Don't forget to check that the web server has the execution right on scripts in the `/usr/share/trac/cgi-bin` directory.