1、redmine用一键安装即可
2、进入C:\Bitnami\redmine-3.1.1-1\,执行use_redmine.exe,进入dos系统 不能用cmd进入。
3、把文件拷贝到C:\Bitnami\redmine-3.1.1-1\apps\redmine\htdocs\plugins
或者 git clone https://github.com/suer/redmine_webhook.git 用这个命令获取 但是首先要知道插件地址
4、执行 rake redmine:plugins:migrate RAILS_ENV=production 如果提示失败,用命令:bundle exec rake redmine:plugins:migrate RAILS_ENV=production
如果成功,如下提示:
[root@gl plugins]# rake redmine:plugins:migrate RAILS_ENV=production
(in /data/www/redmine)
/usr/local/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466
Migrating redmine_checklists (Redmine Checklists plugin (Light version))...
Migrating redmine_webhook (Redmine Webhook plugin)...
== 1 CreateWebhooks: migrating ================================================
-- create_table(:webhooks)
-> 0.0400s
== 1 CreateWebhooks: migrated (0.0405s) =======================================
+++++++++++++++++++++++++++++++++++++++++