Actions
Wiki » Historique » Révision 4
« Précédent |
Révision 4/5
(diff)
| Suivant »
Pierre Blondeau, 30/08/2013 16:34
Installation¶
1 - Go to Redmine Dir
2 - Copy files to the plugins directory
git clone --depth=1 https://forge.greyc.fr/git/redmine-delete-project vendor/plugins/redmine_delete_project rm -rf vendor/plugins/redmine_delete_project/.git
3 - Upgrade plugin and restart apache :
rake db:migrate_plugins RAILS_ENV=production service apache2 restart
4 - Configure the plugins :
Administration -> Plugins -> Configure
5 - Allow Manager to delete project :
Administration -> Roles and permissions -> Manager -> Check Delete Project
6 - Enable "Delete Project" as default project module :
Administration -> Settings -> Projects -> Check Delete Project
Compatibility with rails 3 :¶
Modify the file app/views/delete_project/index.html.erb by add "=" before the form_tag function ligne 10 :
<%= form_tag :controller=>'delete_project', :action=>'submit' do %>
Active the module in all old project¶
Load procedure to MySQL and run it :
mysql redmine < vendor/plugins/procedure.sql mysql redmine -e "call update_project_enable_module ;"
Mis à jour par Pierre Blondeau il y a plus de 11 ans · 4 révisions