#HowTo
- clone the project
- copy .env_example to .env
- fill the .env
- LISTEN_IP - can be left 0.0.0.0
- LISTEN_PORT - set whatever you want e.g 12345
- TRELLO_APIKEY - get it from here https://trello.com/app-key
- TRELLO_TOKEN - get it from here https://trello.com/app-key (generate token manually)
- TRELLO_USERNAME - your username in trello. the daemon will listen for events under your username and api credentials
- TRELLO_WEBHOOK_URL - put here absolute path where daemon is available e.g http://ip_or_domain:12345
- SLACK_TOKEN - get it from here https://api.slack.com/custom-integrations/legacy-tokens
- TRELLO_CLEAR_PREVIOUS_HOOKS - set to 1 to force daemon to clear all hooks on all available dashboards before setting own
- LOGIN_RELATION_1 - relation of trello login to slack id. separator is | . exmaple "@test|U123456". You can create up to 100 such sections. just increment postfix
- go get
- go build
- start the daemon. it will setup or check hooks on its start
P.S. slack user ids for relations can be found in users' profiles