Changes between Version 14 and Version 15 of TracPlugins
- Timestamp:
- Jul 31, 2015, 12:33:41 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPlugins
v14 v15 9 9 From the user's point of view, a plugin is either a standalone .py file or an .egg package. Trac looks for plugins in Python's `site-packages` directory, the [TracIni#GlobalConfiguration global shared] `plugins` directory and the [TracEnvironment project environment] `plugins` directory. Components defined in globally-installed plugins must be explicitly enabled in the [[TracIni#components-section| [components] ]] section of the `trac.ini` file. Components defined in the `plugins` directory of the project environment are enabled, unless explicitly disabled in the `[components]` section of the `trac.ini` file. 10 10 11 == Requirements for Trac eggs 11 == Requirements for Trac eggs #Requirements 12 12 13 13 To use egg-based plugins in Trac, you need to have [http://peak.telecommunity.com/DevCenter/setuptools setuptools] (version >= 0.6) installed. … … 89 89 90 90 After installing the plugin, you must restart your web server. 91 92 ==== Upgrading the environment 93 94 Some plugins may require an environment upgrade. This will typically be necessary for plugins that implement `IEnvironmentSetupParticipant`. Common reasons for requiring an environment upgrade are to add tables to the database or add configuration parameters to trac.ini. A notification will be displayed when accessing Trac for the first time after installing a plugin and restarting the web server. To upgrade the environment, run the command: 95 96 {{{#!sh 97 $ trac-admin /path/to/env upgrade 98 }}} 99 100 A 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`. 91 101 92 102 ==== Uninstalling