开源项目管理平台*redmine*的架设

时间:2022-10-17 17:44:06

yum -y install ruby

yum install rubygems

gem install heroku gem install rack -v=1.0.1 gem install ruby-mysql

开源项目管理平台*redmine*的架设
vim /redmin/config/database.yml

修改自定义附件存放目录:vim /usr/share/redmine/app/models/attachment.rb ;

找到
@@storage_path = ENV['RAILS_VAR'] ? File.join(ENV['RAILS_VAR'], 'files') : "#{RAILS_ROOT}/files"
将其注释掉(在前面加#),然后紧随其后补上:
@@storage_path = "/home/darkofday/redmineAttachFile"

可参考文章:自定义redmine的附件存放目录  >>>https://www.douban.com/note/161840494/

启动  ruby /data/apps/redmine/script/server -e production -p 4000 -d

Linux下安装项目管理工具Redmine:http://www.redmine.org.cn/336.html