Skip to content

serverless-toolkit/init

Repository files navigation

${projectName}

Setup and Development

Note the Prerequisites for the Serverless-Toolkit

Prepare the AWS environment

npm run bootstrap

Sync files to AWS

npm run sync

Develop and preview

https://${projectName}.${domainName}

Development

Local development with file sync and test execution

npm start
npm run dev

Run tests locally

npm test

Destroy the AWS environment

npm run destroy

Prerequisites for the Serverless-Toolkit

Prepare you AWS account and the AWS CLI

aws configure

Prepare AWS-CDK

Install

npm install -g aws-cdk

Bootstrapping AWS-CDK

cdk bootstrap aws://ACCOUNT-NUMBER/REGION

Clone this template

npx degit @serverless-toolkit/init