文章目录
redmine 安装插件
https://github.com/zoeeer/redmine_easy_gantt
https://github.com/backlogs/redmine_backlogs
https://github.com/jex-redmine/redmine_lightbox2
https://github.com/alumbo/Plugin-Redmine-Agile-Light
https://github.com/akiko-pusu/redmine_issue_templateshttps://github.com/neuronetio/gantt-schedule-timeline-calendar
redmine_issue_templates 模板管理插件
插件源码地址
https://github.com/akiko-pusu/redmine_issue_templates
安装步骤
# 进入 redmine 容器插件目录
cd /data/docker/redmine/redmine/plugins/
git clone https://github.com/akiko-pusu/redmine_issue_templates.git
# 确保插件目录名:redmine_issue_templates,不能改名
# 进入redmine容器迁移插件
cd ~
docker-compose -f docker-redmine.yml exec redmine bash
root@741c248149e5:/home/redmine/redmine# rails redmine:plugins:migrate RAILS_ENV=production
exit # 退出容器
# 重启redmine容器
docker-compose -f docker-redmine.yml restart redmine
插件说明
Redmine_issue_templates
场景分析:团队根据分工的不同会有不同的Issue录入方式,如QC团队通常会对bug的问题描述进行抽象化以形成部门级别统一模板,这样每一个bug的描述风格都长得差不多方便大家对bug形成统一的认识。Redmine_issue_templates就是用来帮忙团队管理这些模板类Issue以提高Issue录入的效率。
插件说明:http://www.redmine.org/plugins/issue_templates,按说明进行安装即可。
使用方式和截图:安装完插件后在项目配置中会出现“问题模板”Tab页,我们可以通过该配置入口进行现有模板列表的维护和新模板的创建,创建新模板的界面效果如下:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-sBmlAoB9-1615808352170)(redmine安装插件.assets/20140929191546145)]
创建模板之后,在新建Issue时会出现可选模板列表,选择其中之一,Issue的主题和描述会从模板中自动导出到当前Issue中。
注意事项:在需要大量重复性Issue创建时非常有用,也可形成工作小组/部门甚至组织级别的模板。
easy_gantt
插件源码地址
https://www.easyredmine.com/redmine-gantt-plugin
安装sameersbn/redmine 4.1.1-9
docker-compose.yaml
version: '3'
services:
postgresql:
image: sameersbn/postgresql:9.6-4
environment:
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
volumes:
- /data/docker/redmine/postgresql:/var/lib/postgresql
redmine:
# build: ./
image: sameersbn/redmine:4.1.1-9
depends_on:
- postgresql
environment:
- TZ=Asia/Shanghai
- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- REDMINE_PORT=80
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- SMTP_ENABLED=true
- SMTP_METHOD=smtp
- SMTP_DOMAIN=smtp.qiye.aliyun.com
- SMTP_HOST=smtp.qiye.aliyun.com
- SMTP_PORT=587
- SMTP_USER=redmine@sing.ac
- SMTP_PASS=qhKnLPJKX39r
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=:login
- IMAP_ENABLED=true
- IMAP_HOST=imap.qiye.aliyun.com
- IMAP_PORT=993
- IMAP_USER=redmine@sing.ac
- IMAP_PASS=qhKnLPJKX39r
- IMAP_SSL=true
- IMAP_INTERVAL=30
ports:
- "80:80"
volumes:
- /data/docker/redmine/redmine:/home/redmine/data
- /data/docker/redmine/redmine-logs:/var/log/redmine
docker-compose up -d
拷贝easy_gantt插件
unzip EasyGanttFree-4.x.zip
mv easy_gantt /data/docker/redmine/redmine/plugins/
进入容器安装插件
docker-compose -f docker-redmine.yml exec redmine bash
# 安装必要组件
apt update && apt install libmysqlclient-dev libpq-dev libsqlite3-dev
bundle install
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
# 重启redmine容器
docker-compose -f docker-redmine.yml restart redmine
开启easy_gantt插件后报错:Internal error
docker-compose -f docker-redmine.yml exec redmine bundle exec rake --trace db:migrate RAILS_ENV=production
redmine_lightbox2
插件源码地址
https://github.com/jex-redmine/redmine_lightbox2
安装命令
cd /data/docker/redmine/redmine/plugins/
git clone https://github.com/paginagmbh/redmine_lightbox2.git
docker-compose -f docker-redmine.yml exec redmine bash
rake redmine:plugins:migrate RAILS_ENV=production
agile-light
插件源码地址
https://github.com/alumbo/Plugin-Redmine-Agile-Light
安装命令
cd /data/docker/redmine/redmine/plugins/
git clone https://github.com/alumbo/Plugin-Redmine-Agile-Light.git
mv Plugin-Redmine-Agile-Light redmine_agile && cd redmine_agile
bundle install
# 如果报错,手动gem install 安装依赖
gem install redmine_crm
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production