Ali cloud Fun windows installation tool

Since the project uses a function to calculate hereby learned Fun tools you need to install Ali cloud

 

Fun  is a tool used to support Serverless application deployment, can help you easily manage function computing, API Gateway, logging services and other resources. It is through a resource configuration file (template.yml), help you develop, build, deploy operation.

 

windows installation tutorial below:

By npm install Fun

Installation It is through npm:

$ npm install @alicloud/fun -g

After the installation is complete, there will be a command to provide fun to use. Enter the fun command to view the help information:

$ fun -h

  Usage: fun [options] [command]

  The fun tool use template.yml to describe the API Gateway & Function Compute things, then publish it online.

  Options:

    -v, --version       output the version number
    -h, --help          output usage information

  Commands:

    config              Configure the fun
    validate [options]  Validate a fun template
    deploy              Deploy a project to AliCloud
    build               Build the dependencies

 

Add global environment variable, it can be used in various directories

Because through npm for installation, the installation tool nodejs in Fun;

Assume nodejs installed in the D: \ nodejs \ node_global folder: \ nodejs, the Fun startup command file in D

 

Add the following system environment variable:

 

 

So you can easily play in any path. . .

 

 

 

 

Related links:

https://github.com/alibaba/funcraft/blob/master/docs/usage/installation-zh.md?spm=a2c4g.11186623.2.18.4c2028feNrSD46&file=installation-zh.md

 

Guess you like

Origin www.cnblogs.com/rgcLOVEyaya/p/RGC_LOVE_YAYA_1215_1days.html