Edgewall Software

Changes between Version 44 and Version 45 of 1.1/TracInstall


Ignore:
Timestamp:
Sep 23, 2015, 10:44:43 PM (9 years ago)
Author:
Ryan J Ollos
Comment:

Merged TracInstall@425.

Legend:

Unmodified
Added
Removed
Modified
  • 1.1/TracInstall

    v44 v45  
    130130
    131131{{{#!div style="border: 1pt dotted; margin: 1em"
    132 **Setuptools Warning:** If the version of your setuptools is in the range 5.4 through 5.6, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` must be set in order to avoid significant performance degradation. More information may be found in the sections on [#RunningtheStandaloneServer Running The Standalone Server] and [#RunningTraconaWebServer Running Trac on a Web Server].
     132**Setuptools Warning:** If the version of your setuptools is in the range 5.4 through 5.6, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` must be set in order to avoid significant performance degradation. More information may be found in [#DeployingTrac Deploying Trac].
    133133}}}
    134134
     
    239239== Deploying Trac
    240240
     241{{{#!div style="border: 1pt dotted; margin: 1em"
     242**Setuptools Warning:** If the version of your setuptools is in the range 5.4 through 5.6, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` must be set in order to avoid significant performance degradation.
     243
     244If running `tracd`, the environment variable can be set system-wide or for just the user that runs the `tracd` process. There are several ways to accomplish this in addition to what is discussed here, and depending on the distribution of your OS.
     245
     246To be effective system-wide a shell script with the `export` statement may be added to `/etc/profile.d`. To be effective for a user session the `export` statement may be added to `~/.profile`.
     247{{{#!sh
     248export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1
     249}}}
     250
     251Alternatively, the variable can be set in the shell before executing `tracd`:
     252{{{#!sh
     253$ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject
     254}}}
     255
     256If running the Apache web server, !Ubuntu/Debian users should add the `export` statement to `/etc/apache2/envvars`. !RedHat/CentOS/Fedora should can add the `export` statement to `/etc/sysconfig/httpd`.
     257}}}
     258
    241259=== Running the Standalone Server
    242260
     
    249267{{{#!sh
    250268$ tracd -s --port 8000 /path/to/myproject
    251 }}}
    252 
    253 {{{#!div style="border: 1pt dotted; margin: 1em"
    254 **Setuptools Warning:** If the version of your setuptools is in the range 5.4 through 5.6, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` must be set in order to avoid significant performance degradation. The environment variable can be set system-wide, or for just the user that runs the `tracd` process. There are several ways to accomplish this in addition to what is discussed here, and depending on the distribution of your OS.
    255 
    256 To be effective system-wide a shell script with the `export` statement may be added to `/etc/profile.d`. !Ubuntu/Debian users can add the `export` statement to `/etc/apache2/envvars`. !RedHat/CentOS/Fedora users can add the `export` statement to `/etc/sysconfig/httpd`. To be effective for a user session the `export` statement may be added to `~/.profile`.
    257 {{{#!sh
    258 export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1
    259 }}}
    260 
    261 Alternatively, the variable can be set in the shell before executing `tracd`:
    262 {{{#!sh
    263 $ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject
    264 }}}
    265269}}}
    266270