Skip to content

Slack-Bots/trello2slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

What is this ?

Slack concludes by default cooperation with Trello.
However Slack is not the function to notify of the time limit of the card.

Trello --> your server --> Slack

It is necessary to prepare before time.
You must construct an email server.
You should be able to receive it at least.

your server's setting

Experiment Environment

  • OS centOS: release 6.6 (Final)

$ git clone git@github.com:Slack-Channels/trello2slack.git

POSTFIX(v 2.6.6)

main.cf

path: /etc/postfix/main.cf

alias_maps = hash:/etx/aliases
alias_database = hash:/etc/aliases

$ sudo service postfix restart

aliases

path: /etc/aliases

# "receive user" : "command to operate when if you receive"
trello: "| /usr/bin/php /<path>/trello2slack/app.php > /dev/null 2>&1"

$ sudo newaliases

Execute Authority of trello2slack

$ sudo chown nobody:nobody trello2slack -R

Slack API

  • Incoming WebHooks
  • use curl -X POST --data-urlencode ...token=<your token>

Trello

  • setting -> Notifications -> (Periodically or Instantly)
  • primary email is your server's mail
  • if you want to receive time limit card, you must subscribe it

Library

  • Mail_mimeDecode
    $ pear install Mail_mimeDecode

info.txt

path: trello2slack/
write slack info

    1. subdomain
    1. token
    1. channel
    1. bot name
    1. emoji(:moyai: 🗿)

like this

:-(

Licence

MIT

About

the notice of the time limit of the card to Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages