File tree 3 files changed +16
-16
lines changed
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
# AWS Layer for Lambda functions
2
2
3
- Sharp js as a layer,
3
+ [ Sharp] ( https://sharp.pixelplumbing.com/en/stable/ ) js as a layer,
4
4
5
5
## Image copyright
6
6
7
7
` lucky.jpg ` is owned by me
8
8
9
- ## Example
9
+ ## Running the example
10
10
11
- http://0.0.0.0:4000/sharp?width=800&metadata=true&convolve=true
11
+ ``` bash
12
+ cd example
13
+
14
+ yarn
15
+ yarn start
16
+ ```
17
+
18
+ Then visit the following link
19
+
20
+ [ http://localhost:4000/sharp?width=800&metadata=true&convolve=true ] ( http://0.0.0.0:4000/sharp?width=800&metadata=true&convolve=true )
21
+
22
+ to deploy run ` yarn deploy ` from the ` example ` folder
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
},
18
18
"scripts" : {
19
19
"start" : " nodemon -w ./src/**/* --exec \" yarn offline\" " ,
20
- "offline" : " sls offline start"
20
+ "offline" : " sls offline start" ,
21
+ "deploy" : " sls deploy"
21
22
},
22
23
"keywords" : [],
23
24
"author" : " " ,
You can’t perform that action at this time.
0 commit comments