-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to instructions #1
Conversation
``` | ||
$ curl -SL https://raw.githubusercontent.com/johnmccabe/faas-img2ansi/master/images/gopher.png > gopher.png | ||
|
||
$ curl localhost:8080/function/img2ansi --data-binary @gopher.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the gopher image is in the images
dir, if you want to dump the curl and set the @gopher
to @images\gopher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But you don't have to clone this repo to deploy the function/image. That was my thinking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah good point !!
|
||
``` | ||
# faas-cli -action deploy -image=johnmccabe/faas-img2ansi -name=img2ansi -fprocess="/usr/bin/faas-img2ansi" | ||
200 OK | ||
URL: http://localhost:8080/function/img2ansi | ||
``` | ||
|
||
### Testing the Function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd bump this up to ##
@alexellis thanks for the feedback !!!! |
Apologies for the mergeup conflict, I'd tweaked some stuff on my phone and didn't notice the PR. |
I don't need to show up as a contributor.. but if you can implement the ideas that would be fine too. |
No worries, I've pushed the rebase to you branch and am 👍 to |
Included FaaS deployment instuctions
Includes instructions for installing CLI
Shows one option for installing/testing first, then gives others afterwards if people want the choice.
Uses curl to download your gopher image as a test image.