Skip to content

chechtalks/lunch-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lunch-bot

Kotlin 1.1 Build Status Heroku

Slack bot for handling food reservations at the office.

It's written in Kotlin and consumes Slack API through JBot and JSlack.

How to run it

Beforehand create a Slack bot in your team and get your token.

Deploy to Heroku

  1. Deploy
  2. Make sure you set a Heroku configuration variable with the key slackBotToken and your token as value.

Run locally

  1. Clone this repo.
  2. Execute
$ ./gradlew bootRun -DslackBotToken=[your-token-here]

You can also put your token in application.properties and avoid passing it through command line. However, be aware that if you push it to Github your token will be disabled for security reasons.

Run with Docker

$ docker pull cesdperez/lunch-bot:latest
$ docker run -p 8080:8080 -d -e "slackBotToken=[your-token-here]" cesdperez/lunch-bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published