redmine插件安装

蜀川居 2014-03-11

#Redmine版本
redmine-2.4.2

#软件列表
#------------------------------------------------------
Redmine-Orphan-Revisions-master.zip
redmine-progressive-projects-list-latest.zip


#Redmine插件安装
#------------------------------------------------------------------
#插件1
Progressive Projects List plugin
Projects List with menus and progress bars.
http://stgeneral.github.io/redmine-progressive-projects-list/       Dmitry Babenko 1.0.0 配置

#插件2
Orphan Revisions
Show not linked revisions
https://github.com/noma4i/Redmine-Orphan-Revisions           Alex Tsirel 0.0.2 


上传插件并解压到/home/soft目录:

cd /techcenter/web/redmine-2.4.2/plugins

mv /home/soft/Redmine-Orphan-Revisions-master ./

mv /home/soft/redmine-progressive-projects-list-latest ./
mv redmine-progressive-projects-list-latest/ progressive_projects_list

chown -R apache.apache Redmine-Orphan-Revisions-master/
chown -R apache.apache progressive_projects_list/

bundle install

rake generate_secret_token

rake redmine:plugins:migrate RAILS_ENV=production

#重启apache
#-------------------------------------------------------------------------------------------
#Redmine插件安装完毕!


#Redmine插件卸载
#------------------------------------------------------------------

#卸载插件命令
rake redmine:plugins:migrate NAME=####插件名称##### VERSION=0 RAILS_ENV=production

#删除{RAILS_ROOT}/plugins 下的插件
例如:
rm -rf progressive_projects_list/
bundle install
rake generate_secret_token

#重启apache
#-------------------------------------------------------------------------------------------
#Redmine插件卸载完毕!

相关推荐