Wiki » Historique » Version 5
Pierre Blondeau, 22/01/2015 18:35
1 | 1 | Pierre Blondeau | h1. Installation |
---|---|---|---|
2 | |||
3 | 2 | Pierre Blondeau | 1 - Go to Redmine Dir |
4 | 1 | Pierre Blondeau | |
5 | 2 | Pierre Blondeau | 2 - Copy files to the plugins directory |
6 | <pre> |
||
7 | 1 | Pierre Blondeau | git clone --depth=1 https://forge.greyc.fr/git/redmine-delete-project vendor/plugins/redmine_delete_project |
8 | rm -rf vendor/plugins/redmine_delete_project/.git |
||
9 | 2 | Pierre Blondeau | </pre> |
10 | 1 | Pierre Blondeau | |
11 | 2 | Pierre Blondeau | 3 - Upgrade plugin and restart apache : |
12 | <pre> |
||
13 | 1 | Pierre Blondeau | rake db:migrate_plugins RAILS_ENV=production |
14 | service apache2 restart |
||
15 | 2 | Pierre Blondeau | </pre> |
16 | 1 | Pierre Blondeau | |
17 | 2 | Pierre Blondeau | 4 - Configure the plugins : |
18 | <pre> |
||
19 | 1 | Pierre Blondeau | Administration -> Plugins -> Configure |
20 | 2 | Pierre Blondeau | </pre> |
21 | 1 | Pierre Blondeau | |
22 | 2 | Pierre Blondeau | 5 - Allow Manager to delete project : |
23 | <pre> |
||
24 | 1 | Pierre Blondeau | Administration -> Roles and permissions -> Manager -> Check Delete Project |
25 | 2 | Pierre Blondeau | </pre> |
26 | 1 | Pierre Blondeau | |
27 | 2 | Pierre Blondeau | 6 - Enable "Delete Project" as default project module : |
28 | <pre> |
||
29 | 1 | Pierre Blondeau | Administration -> Settings -> Projects -> Check Delete Project |
30 | 2 | Pierre Blondeau | </pre> |
31 | 3 | Pierre Blondeau | |
32 | h1. Active the module in all old project |
||
33 | |||
34 | Load procedure to MySQL and run it : |
||
35 | <pre> |
||
36 | mysql redmine < vendor/plugins/procedure.sql |
||
37 | mysql redmine -e "call update_project_enable_module ;" |
||
38 | </pre> |