Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.45 KB

README_en.md

File metadata and controls

25 lines (17 loc) · 1.45 KB

Huawei Cloud FunctionGraph Component

Component Description

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.

Prerequisites

Install Node.js on your local PC.

Getting Started

  1. 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.

  1. Initialize a Hello World project by running s init start-fg-http-nodejs14.

  2. After the initialization is complete, enter the project and run s deploy to deploy a function.

Using Commands

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.