Custom templates for OpenFaaS.
faas template pull https://github.com/nlochschmidt/openfaas-http4k-templates
Templates included in this repository:
java11-kotlin-http4k
faas new --lang <template-name> <project-name>
faas build -f ./<project-name>.yml
(Optional) if using an OpenFaaS cluster, first deploy to a registry:
faas push -f ./<project-name>.yml
Assuming OpenFaas is already deployed:
faas deploy -f ./<project-name>.yml