Edgewall Software

Changes between Version 373 and Version 376 of TracInstall


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v373 v376  
    9292
    9393==== Web Server ====
    94 A web server is optional because Trac is shipped with a server included, see the [#RunningtheStandaloneServer Running the Standalone Server ] section below.
     94A web server is optional because Trac is shipped with a server included, see the [#RunningtheStandaloneServer Running the Standalone Server] section below.
    9595
    9696Alternatively you can configure Trac to run in any of the following environments.
     
    144144   either use a released version or install from source
    145145
     146**Note:** 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].
     147
    146148=== Using `pip`
    147149'pip' is an easy_install replacement that is very useful to quickly install python packages.
     
    259261$ tracd -s --port 8000 /path/to/myproject
    260262}}}
     263
     264**Note:** 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.
     265
     266To 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`.
     267{{{#!sh
     268export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1
     269}}}
     270
     271Alternatively, the variable can be set in the shell before executing `tracd`:
     272{{{#!sh
     273$ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject
     274}}}
     275
    261276
    262277=== Running Trac on a Web Server ===