Edgewall Software

Changes between Version 91 and Version 92 of TracPlugins


Ignore:
Timestamp:
Nov 28, 2016, 10:36:47 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Document need to deploy static resources.

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v91 v92  
    9999
    100100A database backup will be made before upgrading the environment, unless the `--no-backup` option is specified. For more information, refer to the documentation output by `trac-admin /path/to/env help upgrade`.
     101
     102==== Redeploying static resources
     103
     104If you [TracInstall#MappingStaticResources mapped static resources] so they are served by the web server, and the plugin contains static resources (CSS, !JavaScript and image files), the resources will need to be deployed to location on the filesystem that is served by the web server.
     105
     106Execute the `deploy` command, as was done during install and [TracUpgrade#a5.Refreshstaticresources upgrade]:
     107
     108{{{#!sh
     109$ trac-admin /path/to/env deploy /deploy/path
     110}}}
     111
     112After executing the command, you must restart your web server.
     113
     114{{{#!div style="border: 1pt dotted; margin: 1em"
     115**Note:** Some web browsers (IE, Opera) cache CSS and Javascript files, so you should instruct your users to manually erase the contents of their browser's cache. A forced refreshed (SHIFT + <F5>) should be enough.
     116{{{#!comment
     117Remove above note once #9936 is fixed.
     118}}}
     119}}}
    101120
    102121==== Uninstalling