Article
Redmine部署以及插件安装
Redmine是类似JIRA的一个项目/BUG管理工具,使用ruby语言编写的。安装相对就麻烦一点,不熟嘛,一堆的东西要安装。有两种简单/傻瓜式的安装方式:
- bitnami-redmine,相当于一键安装;
- docker + redmine,使用docker把所有的依赖都安装好,只需要配置remine即可。
这里选择使用docker-compose来安装: sameersbn/redmine:3.4.2
# 部署
先跑起来,然后再根据需求修改配置。搞得不好的话,重新安装也超级简单,是吧!
mkdir -p /srv/docker/redmine/{redmine,postgresql}
wget https://raw.githubusercontent.com/sameersbn/docker-redmine/master/docker-compose.yml
docker-compose up
启动后,浏览器访问 http://HOSTED_IP:10083 ,使用 admin/admin 登录。
- 重新弄,初始化:
docker-compose rm -f 或者 docker-compose down
rm -rf /srv/docker/redmine/redmine/tmp/*
rm -rf /srv/docker/redmine/postgresql/*
docker-compose up --build
#docker-compose up -d
#docker-compose start
# Theme主题
- https://github.com/sameersbn/docker-redmine#themes
- http://www.redmine.org/projects/redmine/wiki/Themes
- https://www.redmineup.com/pages/themes/a1
改头换面,下载主题后放到 /srv/docker/redmine/redmine/themes/ 目录下。然后 ** 重启容器 **,再重新登录,修改 ** 管理 - 配置 - 显示 - 主题 - A1 **
[root@k8s redmine]# ll /srv/docker/redmine/redmine/themes/
total 0
drwxr-xr-x. 6 es es 69 Sep 18 23:38 a1
# Plugins
有些插件不兼容3.4,注意版本的选择!以下是在3.4下面安装使用的插件:
- http://www.redmine.org/projects/redmine/wiki/Plugins
- http://www.redmine.org/plugins/clipboard_image_paste
- https://github.com/peclik/clipboard_image_paste
- http://www.redmine.org/plugins/redmine_checklists
- http://www.redmine.org/plugins/redmine_agile
- https://github.com/paginagmbh/redmine_lightbox2.git
- https://github.com/paginagmbh/redmine_lightbox2
- http://www.redmine.org/plugins/mega_calendar
- https://github.com/berti92/mega_calendar/wiki/Installation
- http://www.redmine.org/plugins/redmine_work_time
- http://www.redmine.org/plugins/redmine_issue_templates
- Kanban
- http://www.redmine.org/plugins/redhopper
- http://www.redmine.org/plugins/redhopper
- http://www.redmine.org/plugins/deployer
- https://github.com/zapic0/deployer
- http://www.redmine.org/plugins/redmine-ckeditor
- https://github.com/a-ono/redmine_ckeditor
- http://www.redmine.org/plugins/apijs 有一些依赖要安装,没用到的可以不安装apijs这个插件。
- https://www.luigifab.info/redmine/en/apijs.php
[root@k8s plugins]# sed -i '/haml/s/^/#/' redhopper/Gemfile
[root@k8s plugins]# mv apijs redmine_apijs
[root@k8s redmine]# ll /srv/docker/redmine/redmine/plugins/
total 0
drwxr-xr-x. 8 es es 118 Sep 18 14:05 clipboard_image_paste
drwxr-xr-x. 10 es es 212 Sep 18 19:18 deployer
drwxr-xr-x. 7 es es 160 Sep 18 12:00 issuefy
drwxr-xr-x. 4 es es 60 Sep 18 11:59 line_numbers
drwxr-xr-x. 8 es es 182 Sep 17 18:05 mega_calendar
drwxr-xr-x. 6 es es 158 Sep 18 12:00 open_flash_chart
drwxrwxr-x. 8 es es 225 Sep 18 22:15 redhopper
drwxr-xr-x. 9 es es 156 Sep 6 19:02 redmine_agile
drwxr-xr-x. 7 es es 133 Sep 18 22:00 redmine_apijs
drwxr-xr-x. 10 es es 119 Aug 30 21:46 redmine_checklists
drwxr-xr-x. 9 es es 158 Sep 18 19:19 redmine_ckeditor
drwxr-xr-x. 8 es es 221 Sep 18 12:01 redmine_code_review
drwxr-xr-x. 8 es es 252 Sep 18 12:01 redmine_dashboard
drwxr-xr-x. 3 es es 70 Sep 18 12:00 redmine_embedded_video
drwxr-xr-x. 2 es es 78 Sep 18 12:00 redmine_gist
drwxrwxr-x. 8 es es 129 Aug 5 10:52 redmine_issue_templates
drwxr-xr-x. 8 es es 170 Sep 18 17:46 redmine_lightbox2
drwxr-xr-x. 8 es es 160 Mar 5 2017 redmine_work_time
不重启容器的话,可以登录到容器把 ~/data/plugins 拷贝到 ~/redmine/plugins 下面,然后执行下面的命令进行更新:
root@f0481f5f8cda:/home/redmine/redmine#
bundle install --without development test
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
supervisorctl restart unicorn
# 其他的一些插件
- http://www.redmine.org/plugins/dmsf
- https://github.com/danmunn/redmine_dmsf
- http://www.redmine.org/plugins/redmine_git_hosting X
- http://www.redmine.org/plugins/redmine_upwork_plugin
- https://github.com/alexbevi/redmine_knowledgebase
- https://github.com/danmunn/redmine_dmsf
- https://github.com/jbox-web/redmine_jenkins
- https://github.com/masweetman/issue_charts
- 3.3.x
- http://www.redmine.org/plugins/redmine_pivot_table
- https://www.redmine.org/plugins/advanced_roadmap_v2
- https://github.com/Coren/redmine_advanced_roadmap_v2
- https://github.com/Loriowar/redmine_issues_tree
- https://github.com/speedy32129/projects_show
# 参考
–END
Related
Related posts
-
在树莓派上部署redmine - respberrypi
2020-05-11
-
笔记本电脑扩展出多个屏幕:Sunshine + Moonlight 实战记录
2026-03-19
-
树莓派内存不够用?加上虚拟内存,再给 OpenClaw 浏览网页加上“阅后即焚”的策略
2026-03-16
-
树莓派 OpenClaw Browser 看不见摸不着?给它配个 VNC 图形环境,踏实安心的Debug
2026-03-09