Skip to content

Commit 94ce72f

Browse files
authored
update readme
1 parent 40b69ea commit 94ce72f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ Since this Lambda function is written using node.js, you can run almost any scri
1818
#### Requirements
1919

2020
* An AWS Account
21-
* [AWS SAM Local](https://github.com/awslabs/aws-sam-local) AWS tool for running functions locally [Serverless Application Model](https://github.com/awslabs/serverless-application-model)
21+
* The [AWS SAM Local](https://github.com/awslabs/aws-sam-local) tool for running functions locally with the [Serverless Application Model](https://github.com/awslabs/serverless-application-model) (see: `template.yaml`)
2222
* node.js + npm
23+
* `modclean` npm modules for reducing function size (optional)
2324
* Bash
2425

2526
#### Fetching dependencies
@@ -30,13 +31,13 @@ The headless chromium binary is too large for Github, you need to fetch it using
3031
$ ./scripts/fetch-dependencies.sh
3132
```
3233

33-
#### Running locally with SAM
34+
#### Running locally with SAM Local
3435

3536
```sh
3637
$ sam local invoke Lambdium -e event.json
3738
```
3839

39-
### Deploying to
40+
### Deploying
4041

4142
#### Creating a bucket for the function deployment
4243

0 commit comments

Comments
 (0)