Skip to content

Commit fd78273

Browse files
committed
update readme for better instructions on how to run locally
1 parent ab091f7 commit fd78273

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
# Example ACM@UIUC Node-based API using AWS Lambda/API Gateway
1+
# ACM @ UIUC Core API
22

33
## Run Locally
4-
1. `yarn -D`
5-
2. `make check_account_dev` - If this fails make sure that AWS is configured.
6-
3. `make local`
4+
1. Copy `.env.sample` as `.env` and set the `JwtSigningKey` to a random string.
5+
2. Enable Tailscale VPN so you can reach the development database in AWS
6+
3. Log into AWS with `aws configure sso` so you can retrieve the AWS secret and configuration.
7+
4. `yarn -D`
8+
5. `make check_account_dev` - If this fails make sure that AWS is configured.
9+
6. `make local`
710

811
## Build for AWS Lambda
912
1. `make clean`
@@ -17,7 +20,7 @@
1720

1821
## Generating JWT token
1922

20-
Create a `.env` file containing your `CLIENT_SECRET`.
23+
Create a `.env` file containing your `AadClientSecret`.
2124

2225
```bash
2326
node --env-file=.env get_msft_jwt.js

0 commit comments

Comments
 (0)