Comments (3)
感谢大佬的支持,首先是这样的,出不来看您这里是部署成功的,您这里可以看一下template.yaml
内容。这里会描述地点,服务和函数的具体名字的。
至于您说的没有触发器,其实这个可能是一个event函数,如果您需要通过http访问,您可以创建一个http函数:
s init python3-http -p alibaba && cd python3-http && s deploy
有任何问题可以继续反馈。随时在线,
from serverless-devs.
我这边就是启动s gui,然后选择了python3这个例子,配置访问证书后,点击部署,执行窗口为上面输出内容。是我哪里流程错了吗?
template.yaml内容为:
MyFunctionDemo:
Component: fc
Provider: alibaba
Properties:
Region: cn-hangzhou
Service:
Name: ServerlessToolProject
Description: 欢迎使用ServerlessTool
Function:
Name: serverless_demo_python3
Description: 这是一个Python3的测试案例
CodeUri: ./
Handler: index.handler
MemorySize: 128
Runtime: python3
Timeout: 5
Access: 'ali'
from serverless-devs.
好的,您这里操作是没有错的。是这样的,函数计算实际上你可以简单的分成两个部分:
这个Python3-http实际上是可以自带一个http触发器,会给您默认返回一个url,您可以通过http方法访问。
from serverless-devs.
Related Issues (20)
- A potential risk in the fc-llm-api can be used to escalate permission. HOT 2
- A potential risk in the fc-stable-diffuson can be used to escalate permission. HOT 5
- SyntaxError: missing ) after argument list HOT 1
- Support random string generation during template initialization HOT 1
- s init 阶段,在模板中的变量多处依赖 ${default-suffix},但是生成后每个 default-suffix 的值都不同 HOT 4
- 组件开发,执行npm run pub报“Error Message: 权限异常” HOT 4
- s xx --help提供的文档网站域名已过期 HOT 2
- Not found access: undefined
- s init failed with message: Request failed with status code 400 HOT 1
- 阿里云函数 Node.js内置模块未找到 Cannot find module 'raw-body' HOT 4
- fail to create vpc binding without any warning HOT 1
- 是否可在 CI/CD 流程中接入 s registry publish 发布 HOT 1
- MacOS 运行s如果不用sudo则一直卡着,没输出 HOT 2
- 'export' is not recognized as an internal or external command, operable program or batch file. HOT 1
- 建议为s local start 增加透传给docker的启动参数. HOT 2
- Interaction in cicd environment, throwing exception HOT 5
- s local invoke Unexpected token '??=' HOT 4
- [feat]: 需要 intellj 系的 s.yaml 语法提示插件,以及希望能快速插入配置段
- sudo s deploy failed HOT 1
- s.yaml int字段不支持使用环境变量 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-devs.