1. Create app in Slack's User interface
2. Add scopes in the "OAuth and Permissions" pane
3. Add request URL (your API endpoint which handles the Slack interactive message)
4. Adding the Slack channel ID (SLACK_CHANNEL_ID
in settings.js
):
5. Copy your app's OAuth token into SLACK_TOKEN
in settings.js
6. Set logging directory in LOG_DIR
in settings.js
7. Add database credentials, and run the app
8a. Run node app.js
docker build -t ec2-instance-bot:<tag> .
docker run -p 3000:3000 -d ec2-instance-bot:<tag>