This guide is designed to help you get started as quick as possible.
aliyun-nodejs
templateserverless create --template aliyun-nodejs --path my-service
cd my-service
npm install
Read through credentials doc to setup the credentials.
serverless.yml
Update the project
and credentials
in your projects serverless.yml
Make sure that you have activated Function Compute and any other dependent services such as RAM, Log Service, API Gateway and OSS before attempting to deploy your function.
Run the deploy command
serverless deploy
Run the invoke command
serverless invoke --function first
Product