File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ PyramidTest:
9090
9191注意,这里的pyramidProjectName必须要和你的项目名称一致!
9292
93+ 这里要额外说明,` pyramidProjectName ` 实际上是包括你app的那个文件即` app = config.make_wsgi_app() ` ,并且要确保可以通过` 文件名.app ` 从外引用该文件。
94+
9395- [ 更多配置] ( https://github.com/serverless-components/tencent-flask/blob/master/docs/configure.md )
9496
9597### 3. 部署
Original file line number Diff line number Diff line change 55``` yml
66# serverless.yml
77
8- django :
8+ pyramid :
99 region : ap-guangzhou
10- component : ' @gosls/tencent-django '
10+ component : ' @gosls/tencent-pyramid '
1111 inputs :
12- requirements :
13- dockerizePip : true
1412 region : ap-guangzhou
15- djangoProjectName : myproject
13+ pyramidProjectName : myproject
1614 functionName : flask-function
1715 serviceName : mytest
1816 serviceId : service-np1uloxw
@@ -47,7 +45,6 @@ Main param description
4745
4846| Param | Required/Optional | Default | Description |
4947| --------------------------------------------------- | :---------------: | :----------: | :------------------------------------------------------------------------------------------ |
50- | requirements | Optional | | [requiements](https://github.com/yugasun/python-requirements/blob/master/docs/configure.md) |
5148| region | Optional | ap-guangzhou | |
5249| djangoProjectName | Required | | Django Projct Name |
5350| functionName | Optional | | ServerlessCloudFunction Name |
You can’t perform that action at this time.
0 commit comments