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 hello
Edit the serverless.yml
accordingly. Happy hacking ;)
Made with ❤️ by Joblocal