Just
/tellchima
$ make setup-local
# Need to fill in following mandatory secrets
# `SLACK_SIGNING_SECRET`: "Signing Secret" field at https://api.slack.com/apps/A04HKMSH3DE/general
# `SLACK_BOT_TOKEN`: "Bot User OAuth Token" field at https://api.slack.com/apps/A04HKMSH3DE/install-on-team
$ cp .env.example .env
$ make dev
In another terminal...
# Enter the https address + "/slack/events" in "Request URL" fields for `/tell-doge` and `/untell-doge at https://api.slack.com/apps/A04HKMSH3DE/slash-commands?
$ make ngrok
Now enter /enter-doge [your message]
in https://oursky.slack.com/archives/C04GPBBHRM4 to test it out!
This project uses following tools:
- Nodejs (Typescript)
- Prisma (SQLite connector)
- Slack SDK (BoltJS)
# Build
make docker-image
make push-docker-image
# Deploy
blackbox_postdeploy
make deploy