This is an OpenFaaS plugin for the Serverless Inc framework.
npm install serverless-openfaasThis is an OpenFaaS plugin for the Serverless Inc framework.
You are probably looking for OpenFaaS - openfaas/faas.
* Node.js 8 or newer
* Serverless Inc CLI (sls)
* Docker 17.05+
* OpenFaaS & CLI (faas-cli)
Installation:
* Serverless Inc CLI (sls)
```
sudo npm i -g serverless
* Get the OpenFaaS CLI:
``
$ curl -sSL https://cli.openfaas.com | sudo sh
Or install via brew install faas-cli.
* Get OpenFaaS
You can deploy OpenFaaS locally or remotely with Docker Swarm or Kubernetes. See the documentation
* Get this plugin
``
$ git clone https://github.com/openfaas/serverless-openfaas
$ ./prep.sh
> This will install the serverless npm module.
* Test all commands with a script
``
$ ./test-plugin.sh
* Manually test commands
Run ./test-plugin.sh then:``
$ cd driver/faas-func
$ sls
```
sls init
sls package
sls deploy
sls deploy function -f
sls deploy list
sls invoke -f
sls remove