bundle install --path vendor/bundle
mkdir log
mkdir -p tmp/puma
Create a new bot, and note its API token.
export GB2S_CONFIG_PATH="/path/to/settings.yml"
ex)
slack_api_token: xxxx-00000-xxxxxx (bot api token)
token2slack:
'TOKEN1': 'https://hooks.slack.com/services/aa/bb/cc'
'TOKEN2': 'https://hooks.slack.com/services/xx/yy/zz'
bundle exec puma -e production -p 8000 -C config/puma.rb
- Payload URL: https://puma-server/gitbucket2slack_hook/TOKEN1
- Content type: application/json
ex) @hoge test comment