| 101 | |
| 102 | ==== Redeploying static resources |
| 103 | |
| 104 | If 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 the location on the filesystem that is served by the web server. |
| 105 | |
| 106 | Execute 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 | |
| 112 | After 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 |
| 117 | Remove above note once #9936 is fixed. |
| 118 | }}} |
| 119 | }}} |