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) =======================================
+++++++++++++++++++++++++++++++++++++++++