Currently consists of two scheduled tasks, one for the morning standup and one for the afternoon stand-down. They live in src/scheduled.
Most of the code is in /shared to keep things DRY. Don't expect anything life-changing!
You'll need an AWS profile called weka-deploy
set up in your ~/.aws/credentials
.
See 1pass for details.
You'll also need to set an environment variable: SLOTH_WEBHOOK=true or CSTEAM_WEBHOOK=true
This is the full URL of the Slack webhook to use for sending messages. Check src/shared/config.js
for valid teams|
These should be put in a .env
file at the root of the project.
Process.Env is used to pick these up.
The .env
is in .gitignore
so it can't be checked in.
The production values are stored as secrets in the Github Repo itself - you can overwrite them, but not view them.
Once you have that in place you can run
npm install
npm run deploy
Which will deploy the Staging stack. Add --production
to deploy to the Production stack.
Update src/shared/users.js
with your github username and slack id,
and if you're feeling adventurous update your team's config in src/shared/config.js