- build:
./build.sh
- deploy:
./deploy.sh
- build-and-deploy:
./build-and-deploy.sh
- Get the endpoint from the output of the deploy or run
sls info
- send the following payload:
{ "message": "hello world", "author": "nick" }
- tail logs:
serverless logs -f messageFunction -t
https://twitter.com/TheNickVanHoof
- prune:
sls prune -n <number of version to keep> --dryRun