Logo
Explore Help
Register Sign In
huhao/ylt_diy
1
0
Fork 0
You've already forked ylt_diy
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
ylt_diy/.coze

11 lines
214 B
Plaintext
Raw Permalink Normal View History

fix: 创建 .coze 配置文件,配置为Python Flask版本 问题:沙箱预览仍然使用旧的Node.js版本配置(scripts/dev.sh) 修复: 1. 创建 .coze 配置文件: - requires: python-3.12 - build: pip install -r requirements.txt - run: python app.py 2. 更新 app.py 端口配置: - 支持 DEPLOY_RUN_PORT(沙箱环境) - 支持 PORT(本地环境) - 默认 5000 现在沙箱预览会使用Python Flask版本。 请在IDE中重新启动预览: 1. 点击预览窗口的刷新按钮 2. 或关闭预览后重新打开 Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
2026-07-09 15:00:25 +08:00
[project]
requires = ["python-3.12"]
[dev]
build = ["pip", "install", "-r", "requirements.txt"]
run = ["python", "app.py"]
[deploy]
build = ["pip", "install", "-r", "requirements.txt"]
run = ["python", "app.py"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 51ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API