Skip to content

Commit a2a7bbb

Browse files
author
dfounderliu
committed
fix readme
1 parent b108dbe commit a2a7bbb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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. 部署

docs/configure.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
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 |

0 commit comments

Comments
 (0)