This is a function application lifecycle management tool developed based on Serverless Devs. You can use the s.yaml
configuration file to quickly deploy an application on Huawei Cloud FunctionGraph.
Install Node.js on your local PC.
- Install the Serverless Devs developer tool by running
npm install -g @serverless-devs/s
.
After the installation is complete, configure a key by referring to the instructions.
-
Initialize a
Hello World
project by runnings init start-fg-http-nodejs14
. -
After the initialization is complete, enter the project and run
s deploy
to deploy a function.
Huawei Cloud FunctionGraph component has the following capabilities.
Build & Deploy | Publish & Config | Other |
---|---|---|
deploy | version | fun2s |
remove | alias |
When using the FunctionGraph component, you will need to compile a YAML resource description file. For details, see Huawei Cloud FunctionGraph YAML Specifications.