Make sure you have the following installed on your system:
# using homebrew
$ brew install node yarn- initialize new servless project
$ curl -fsSL https://raw.github.com/joblocal/serverless-template/master/install.sh | sh
# optionaly provide a name
$ curl -fsSL https://raw.github.com/joblocal/serverless-template/master/install.sh | sh -s my-awesome-serverless-project- install depencenies:
yarn install
To test the hello function, execute the following command:
$ serverless invoke local --function helloEdit the serverless.yml accordingly. Happy hacking ;)
Made with ❤️ by Joblocal