-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: General set up and steps for testing Slack bot (#175)
General doc for setting the project and how to test Slack bot changes. Co-authored-by: Billy Vong <[email protected]>
- Loading branch information
Showing
7 changed files
with
166 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# direnv will make a copy of this file as an .env file | ||
# Follow the instructions in README.md as how to add your personal | ||
# tokens and secrets in this file | ||
|
||
# GitHub App ID | ||
GH_APP_IDENTIFIER="" | ||
# Github App Webhook Secret to verify requests come from GitHub | ||
GH_WEBHOOK_SECRET="" | ||
# GitHub App Secret Key | ||
GH_APP_SECRET_KEY='-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----' | ||
|
||
# Slack signing secret to verify requests come from Slack | ||
SLACK_SIGNING_SECRET= | ||
# Slack Bot user access token -> "Bot User OAuth Token" | ||
SLACK_BOT_USER_ACCESS_TOKEN= | ||
# The Slack bot's App ID | ||
SLACK_BOT_APP_ID= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# shellcheck shell=bash | ||
# This .envrc is to be used by direnv | ||
if [ -f '.env' ]; then | ||
echo "direnv: loading .env file" | ||
dotenv .env | ||
else | ||
echo "We have run \`cp .env.example .env\` for you (untracked file)." | ||
cp .env.example .env | ||
fi | ||
|
||
# DB Host | ||
export DB_HOST=127.0.0.1 | ||
export DB_NAME=postgres | ||
export DB_USER=postgres | ||
export DB_PASSWORD="docker" | ||
export DB_INSTANCE_CONNECTION_NAME= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ npm-debug.log | |
*.pem | ||
!mock-cert.pem | ||
.env | ||
.envrc | ||
package-lock.json | ||
coverage | ||
lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.