add platform FG

This commit is contained in:
qkqpttgf 2020-07-13 17:54:20 +08:00 committed by GitHub
parent dee127ef64
commit f018448441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

View File

@ -11,6 +11,7 @@ How to Install: Click the button [![Deploy](https://www.herokucdn.com/deploy/but
# Deploy to Tencent Serverless Cloud Function (SCF 腾讯无服务器云函数)
Official: https://cloud.tencent.com/product/scf
DEMO: 无
注意SCF新增限制环境变量整体最大4KB所以最多添加4个盘。
How to Install: 无
@ -32,7 +33,20 @@ How to Install:
在浏览器中访问。
# Deploy to Aliyun Function Compute (FC 阿里函数计算)
# Deploy to Huawei cloud Function Graph (FG 华为云函数工作流)
Official: https://console.huaweicloud.com/functiongraph/
DEMO: 无
注意FG中环境变量整体大小为2KB所以最多添加2个盘。
How to Install:
1在函数列表点右边创建函数
2输入名称选择运行时语言为PHP7.3点上传ZIP文件选择文件然后点右边的创建函数这里的ZIP文件不能直接用从Github上下载的ZIP文件要将它解压后去掉外层文件夹后再压缩为ZIP。
3创建触发器选API网关安全认证选None后端超时毫秒将5000改成30000上面创建分组一下其它的点点点
4访问触发器给的url开始安装
5在触发器界面点触发器名称跳到API网关管理右边更多URL可以添加自定义域名自定义域名后发现还是要 xxxx.com/函数名 来访问点上方的编辑第1页不用改点下一步请求Path改成/注意匹配模式是前缀匹配Method为ANY然后不用点下一步了点立即完成然后去发布生效
# Deploy to Aliyun Function Compute (FC 阿里云函数计算)
Official: https://fc.console.aliyun.com/
DEMO: 无