Add README for hotfunctions go example and update docs to point to it

This commit is contained in:
Nigel Deakin
2017-09-29 12:06:23 +01:00
parent 16cdd98a62
commit c7fefff9a7

View File

@@ -8,7 +8,8 @@ Install the CLI tool, start a Fn server and run `docker login` to login to Docke
Set your Docker Hub username Set your Docker Hub username
```export FN_REGISTRY=<DOCKERHUB_USERNAME> ```sh
export FN_REGISTRY=<DOCKERHUB_USERNAME>
``` ```
Build and deploy the function to the Fn server (default localhost:8080) Build and deploy the function to the Fn server (default localhost:8080)
@@ -18,5 +19,6 @@ fn deploy --app hot-app
Now call your function: Now call your function:
```curl -X POST -d "World" http://localhost:8080/r/hot-app/%2Fhotfn-go ```sh
curl -X POST -d "World" http://localhost:8080/r/hot-app/%2Fhotfn-go
``` ```