[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 

Changes between Version 4 and Version 5 of TracInstall


Ignore:
Timestamp:
02/18/15 13:16:22 (4 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v4 v5  
    153153For upgrades, reading the TracUpgrade page is mandatory, of course. 
    154154 
     155{{{#!div style="border: 1pt dotted; margin: 1em" 
     156**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].  
     157}}} 
     158 
    155159=== From source 
    156160If 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]]. 
     
    265269{{{ 
    266270$ tracd -s --port 8000 /path/to/myproject 
     271}}} 
     272 
     273{{{#!div style="border: 1pt dotted; margin: 1em" 
     274**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. 
     275 
     276To 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`. 
     277{{{#!sh 
     278export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 
     279}}} 
     280 
     281Alternatively, the variable can be set in the shell before executing `tracd`: 
     282{{{#!sh 
     283$ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject 
     284}}} 
    267285}}} 
    268286