You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,9 @@ Since this Lambda function is written using node.js, you can run almost any scri
18
18
#### Requirements
19
19
20
20
* 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`)
22
22
* node.js + npm
23
+
*`modclean` npm modules for reducing function size (optional)
23
24
* Bash
24
25
25
26
#### Fetching dependencies
@@ -30,13 +31,13 @@ The headless chromium binary is too large for Github, you need to fetch it using
30
31
$ ./scripts/fetch-dependencies.sh
31
32
```
32
33
33
-
#### Running locally with SAM
34
+
#### Running locally with SAM Local
34
35
35
36
```sh
36
37
$ sam local invoke Lambdium -e event.json
37
38
```
38
39
39
-
### Deploying to
40
+
### Deploying
40
41
41
42
#### Creating a bucket for the function deployment
0 commit comments