/serverless-devs-helloworld

Hello World made for Serverless Devs deploying on Alibaba Cloud

Primary LanguagePython

Serverless Devs "Hello World"

Installing Serverless Devs

Once we have the above project structure ready, follow the next steps:
  • Install Node.js (>=10.8.0) and NPM package management tools
  • Install Serverless Devs by running npm install @serverless-devs/s -g
  • Check if Serverless Devs is working properly by running s -v
After installing, you should run s config add to start the setup, choose "Alibaba Cloud (alibaba)" and follow the instructions to put your Alibaba Cloud credentials.

 

Deployment

Once we have everything ready, let's rock. This, as the last step, is the easiest of all of them, we just need to run s deploy and focus on the output, as we will have all the information we need in order to test if our code is running successfully.

 

Thank you for reading all the way to this point, enjoy serverlessing!