mirror of
https://github.com/openfaas/faas.git
synced 2025-06-17 12:46:59 +00:00
Update README.md
This commit is contained in:
parent
c897b1be75
commit
7f9da52da0
@ -10,11 +10,11 @@ Use this FaaS function to resize an image with ImageMagick.
|
|||||||
|
|
||||||
* Option 1 - click *Create a new function* on the FaaS UI
|
* Option 1 - click *Create a new function* on the FaaS UI
|
||||||
|
|
||||||
* Option 2 - use the faas-cli (experimental)
|
* Option 2 - use the [faas-cli](https://github.com/alexellis/faas-cli/) (experimental)
|
||||||
|
|
||||||
```
|
```
|
||||||
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
|
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
|
||||||
# chmod +x ./faas-cli-macos
|
# chmod +x ./faas-cli
|
||||||
|
|
||||||
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer \
|
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer \
|
||||||
-fprocess="convert - -resize 50% fd:1"
|
-fprocess="convert - -resize 50% fd:1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user