Update with additional blog link
@@ -15,7 +15,7 @@ You can start evaluating FaaS and building functions on your laptop or on a VM (
* Clone the code
```
-$ git clone https://github.com/alexellis/faas-netes
+$ git clone https://github.com/openfaas/faas-netes
```
* Deploy the services
@@ -42,7 +42,7 @@ There are currently no sample functions built into this stack, but we can deploy
**Use the CLI**
-Follow the tutorial below, but change your gateway URL from localhost:8080 to kubernetes-node-ip:31112
+Follow the tutorials below, but change your gateway URL from `localhost:8080` to `kubernetes-node-ip:31112`
i.e.
@@ -52,9 +52,20 @@ provider:
gateway: http://192.168.4.95:31112
```
+* Learn about the CLI
+
+[Morning coffee with the OpenFaaS CLI](https://blog.alexellis.io/quickstart-openfaas-cli/)
+
+* Build your first Python function
+
[Your first serverless Python function with OpenFaaS](https://blog.alexellis.io/first-faas-python-function/)
-You can also deploy the samples from the [FaaS-cli](https://github.com/alexellis/faas-cli), but change the gateway address as above.
+You can also deploy the samples from the [FaaS-cli](https://github.com/openfaas/faas-cli), but change the gateway address as above.
+
+```
+$ git clone https://github.com/openfaas/faas-cli && \
+ faas-cli deploy -f samples.yml
+```
**Use the UI**
@@ -70,3 +81,10 @@ Click "New Function" and fill it out with the following:
* Test the function
Your function will appear after a few seconds and you can click "Invoke"
+
+You can also use the CLI like this:
+
+```
+$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
+$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
+```
