Hello world OpenFaaS Function in Idris 2.
See the idris-
prefixed directories to find the Idris 2 Function code examples.
The following documentation explains how to run these Functions in OpenFaaS.
See OpenFaaS website for more detailed and up to date documentation.
-
Docker
-
OpenFaaS: to try in localhost, maybe provision faasd
Get the Idris 2 OpenFaaS template:
faas template pull https://github.com/ccfontes/faas-idris2
export DOCKER_REGISTRY_IMG_ORG_PATH=<registry org path>
Check stack.yml to find out how DOCKER_REGISTRY_IMG_ORG_PATH
is used.
To build and deploy the Functions to OpenFaaS, run the following command:
faas up