This is an Gestalt plugin for the Serverless Inc framework.
Work remaining:
- Documentation on using gestalt with the Serverless Inc framework
- Validation of plugin from Serverless Inc team
- Validation of node.js template from Serverless Inc team
- Breaking out of SDK for spawning
fog
- Node.js 8.11.3 or newer
- Serverless Inc CLI (sls)
- Gestalt Platform & Fog CLI
Installation:
- Serverless Inc CLI (sls) Currently you need a local build of serverless
npm i -g serverless
- Get the Gestalt CLI:
https://github.com/GalacticFog/gestalt-fog-cli
Or install via npm npm install fog-cli
.
- Get gestalt
You can deploy gestalt locally using Docker CE. See the documentation(https://docs.gestalt.com/)
- Get this plugin
$ git clone https://github.com/GalacticFog/serverless-gestalt
Link the plugin so it's available to Node:
$ npm run install
- Test the happy-path: build/deploy/list/invoke/remove
$ npm test
sls deploy
sls deploy function -f <your-function>
sls package
sls deploy list
sls invoke -f <your-function> -d <your-data> # -d flag optional
sls remove
TBD