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