The purpose of this bot is to send a message to your team's Slack when is someones birthday.
- Clone this repo to a desire location at your own computer
- Get your Incoming Webhook URL from Slack
- Save the url at
configurations.jsonfile and fill in the rest of the configurations as you like - Set your birthdays list using the format
FirstName LastName YY MM DDat thebirthdays.txtfile - Create a blank app at Heroku
- Push your code to Heroku
- The bot was developed with the 2.2.6 version of ruby, any other versions may require changes.
- Run
heroku addons:create scheduler:standardto add the Scheduler add-on to your deploy - Run
heroku addons:open schedulerto configure the scheduler - Click Add a new job and type
rake congratulateas the command - Set frequency to Daily and choose the Time you want to be notified
- Clone this repo to a desire location at your own server
- Get your Incoming Webhook URL from Slack
- Save the url at
configurations.jsonfile and fill in the rest of the configurations as you like - Set your birthdays list using the format
FirstName LastName YY MM DDat thebirthdays.txtfile - Run
crontab -eto edit your crontab - Add this line to the crontab and save it:
0 9 * * * cd /clone/location && /usr/local/bin/rake congratulate(replace/clone/locationby the location where you cloned the repo)
This project was originally created by Tiago Botelho, while he was an intern at jeKnowledge.
It was later revised by Diogo Nunes from EqualExperts and João Bernardo from jeKnowledge.
This project is licensed under the terms of the MIT license.