Skip to content

Commit

Permalink
📝 Explain how slack integration is set up
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianJoe committed Mar 8, 2019
1 parent 4407589 commit 6b85e9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ $ pipenv run app/manage.py runserver
- Optional: Create an S3 endpoint in your VPC to specifically set up S3 connectivity for your Lambda functions
- Run `zappa deploy <stage>`, `zappa manage <stage> migrate` and `./manage.py collectstatic` for initial deployment and `zappa update <stage>` for updating

## Slack Integration
- Follow [this guide](https://www.fullstackpython.com/blog/build-first-slack-bot-python.html)

### Environment Configuration
You can use the `s3-env-config` npm package to configure the environment variables in an S3 bucket.

Expand All @@ -64,6 +67,8 @@ The following environment variables are required:
"DB_USER": "",
"DB_PASSWORD": "",
"DB_HOST": "",
"BOT_SERVICE_ENDPOINT": "" // With trailing slash
"BOT_SERVICE_ENDPOINT": "", // With trailing slash
"SLACK_BOT_TOKEN": "",
"SLACK_CHANNEL": ""
}
```

0 comments on commit 6b85e9b

Please sign in to comment.