Slack bot that automates order process of restaurant rybarna.net
- Download release zip file
- unzip downloaded file
- Define environment variables (shown below)
- Configure application.conf
- Go to unzipped directory and run /bin/fish-shop-slack-bot
- Set env variables
export FISH_SHOP_BOT_VERIFICATION_TOKEN="XXXXXXXXXXX" export FISH_SHOP_APPLICATION_SECRET="XXXXXXXXXXXXX"
- Run sbt run
sbt run
- Profit
sbt playGenerateSecret
- /fish-order ([0-5][space])* - orders meal for user who entered command, numbers are delivered by space
- /fish-menu - creates menu
- /fish-reset - reset orders of person who entered command
- /fish-complete - create order on fish shop, user details are loaded from configuration file
Remaining configuration is set in conf/application.conf.