- Copy
.env.sample
as.env
and set theJwtSigningKey
to a random string. - Enable Tailscale VPN so you can reach the development database in AWS
- Log into AWS with
aws configure sso
so you can retrieve the AWS secret and configuration. yarn -D
make check_account_dev
- If this fails make sure that AWS is configured.make local
make clean
make build
- Get AWS credentials with
aws configure sso
- Ensure AWS profile is set to the right account (DEV or PROD).
- Run
make deploy_dev
ormake deploy_prod
.
Create a .env
file containing your AadClientSecret
.
node --env-file=.env get_msft_jwt.js
SSO URL: https://acmillinois.awsapps.com/start/#
aws configure sso
Log in with SSO. Then, export the AWS_PROFILE
that the above command outputted.
export AWS_PROFILE=ABC-DEV