Skip to content

Commit

Permalink
云函数依赖处理&防止httpx问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Womsxd committed Aug 28, 2022
1 parent 62bf1e0 commit d74eeae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ docker-compose pull && docker-compose up -d
1. 下载本项目
2. 在脚本目录执行`pip3 install -r requirements.txt -t .`
2. 在脚本目录执行`pip3 install -r requirements_qcloud.txt -t .`
3. 在本地完整运行一次。
Expand All @@ -152,7 +152,7 @@ docker-compose pull && docker-compose up -d
* 阿里云
1. 下载本项目
2. 在脚本目录执行`pip3 install -r requirements.txt -t .`
2. 在脚本目录执行`pip3 install -r requirements.txt -t .`,如果无法选择`Python3.9`环境请执行`pip3 install -r requirements_qcloud.txt -t .`
3. 在本地完整运行一次。
4. 打开并登录[函数计算 FC](https://fcnext.console.aliyun.com/cn-hangzhou/services)。注意左上方显示的地区,可点击切换其他地区。
5. 创建服务 (日志功能可能产生费用,建议关闭)
Expand Down
2 changes: 2 additions & 0 deletions requirements_qcloud.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests>=2.26.0
PyYAML~=6.0

0 comments on commit d74eeae

Please sign in to comment.