git clone https://github.com/phlegx/redmine_gitlab_hook.git
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
bundle exec rails server webrick -e production
浏览器打开redmine 管理->插件->配置(Redmine GitLab Hook plugin) git
浏览器打开redmine xx项目->配置->版本库->新建或编辑github