- Install dependencies:
npm install- Install serverless globally using next command.
npm i -g serverless- For configurate your local environment use the next command and replace the xxxxxx with your AWS credentials.
serverless config credentials --provider aws --key xxxxxxxx --secret xxxxxxxxxx- For check that you have your credentials you can do the next command:
cat ~/.aws/credentials- Run that command:
sls deploy -v