- Create the project from the following template:
$ sls create --template-url https://github.com/danteinc/js-cloud-native-cookbook/tree/master/ch1/create-stack --path cncb-create-stack
- Navigate to the cncb-create-stack directory with cd cncb-create-stack.
- Review the file named serverless.yml with the following content:
service: cncb-create-stackprovider: name: aws
- Review the file named package.json with the following content:
{ "name": "cncb-create-stack", "version": "1.0.0", "private": true, "scripts": { "test": "sls package -r us-east-1 -s test", "dp:lcl": "sls deploy -r us-east-1", "rm:lcl": "sls remove -r us-east-1" }, "devDependencies": { "serverless": "1.26.0" }}
- Install the dependencies with npm install.
- Run the ...