Plugins » History » Version 90
tibor strausz, 2012-07-12 12:08
1 | 1 | Jean-Philippe Lang | h1. Plugins |
---|---|---|---|
2 | |||
3 | 85 | Mischa The Evil | h2. Plugin list |
4 | |||
5 | A full list of available Redmine plugins can be found at the "Plugin Directory":/plugins. |
||
6 | |||
7 | 89 | Sergey Kolchenko | More plugins (some in very early development), which are not listed at the "Plugin Directory":/plugins but are publicly available on "GitHub":http://github.org, can be found using a "search like this":http://github.com/search?type=Repositories&language=&q=redmine&repo=&langOverride=&x=0&y=0&start_value=1. |
8 | 85 | Mischa The Evil | |
9 | 1 | Jean-Philippe Lang | h2. Installing a plugin |
10 | |||
11 | 88 | Jean-Philippe Lang | 1. Copy your plugin directory into @#{RAILS_ROOT}/plugins@ (Redmine 2.x) or @#{RAILS_ROOT}/vendor/plugins@ (Redmine 1.x). If you are downloading the plugin directly from GitHub, you can do so by changing into your plugin directory and issuing a command like @git clone git://github.com/user_name/name_of_the_plugin.git@. |
12 | 1 | Jean-Philippe Lang | |
13 | 81 | Jean-Philippe Lang | 2. If the plugin requires a migration, run the following command to upgrade your database (make a db backup before): |
14 | 1 | Jean-Philippe Lang | |
15 | 82 | Anton Hedström | rake db:migrate_plugins RAILS_ENV=production |
16 | 1 | Jean-Philippe Lang | |
17 | 81 | Jean-Philippe Lang | 3. Restart Redmine |
18 | 1 | Jean-Philippe Lang | |
19 | 90 | tibor strausz | ./ctlscript.sh restart redmine |
20 | |||
21 | 30 | Jean-Philippe Lang | You should now be able to see the plugin list in _Administration -> Plugins_ and configure the newly installed plugin (if the plugin requires to be configured). |
22 | 1 | Jean-Philippe Lang | |
23 | 83 | Tony Marschall | h2. Uninstalling a plugin |
24 | |||
25 | 1. If the plugin required a migration, run the following command to downgrade your database (make a db backup before): |
||
26 | |||
27 | 1 | Jean-Philippe Lang | rake db:migrate:plugin NAME=plugin_name VERSION=0 RAILS_ENV=production |
28 | |||
29 | 88 | Jean-Philippe Lang | 2. Remove your plugin from the plugins folder: @#{RAILS_ROOT}/plugins@ (Redmine 2.x) or @#{RAILS_ROOT}/vendor/plugins@ (Redmine 1.x).. |
30 | 61 | Mischa The Evil | |
31 | 80 | Jean-Philippe Lang | 3. Restart Redmine |
32 | 38 | Mischa The Evil | |
33 | 16 | Jean-Philippe Lang | h2. Writing plugins |
34 | 1 | Jean-Philippe Lang | |
35 | 73 | Mischa The Evil | There is a step-by-step [[Plugin_Tutorial|tutorial]] about writing a plugin. Some more (detailed) information is collected and stored in the "[[Plugin_Internals|plugin internals]]" page. |
36 | 77 | Felix Schäfer | More (general) developer information can be found in the [[Guide#Developer-guide|Redmine Developer Guide]]. |