更新文件 preview.yml

This commit is contained in:
meganzhang
2024-07-24 11:33:47 +08:00
parent 36e463073e
commit ecef092367

8
.vscode/preview.yml vendored
View File

@@ -1,10 +1,10 @@
# .vscode/preview.yml # .vscode/preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览 autoOpen: false # 打开工作空间时是否自动开启所有应用的预览
apps: apps:
- port: 5000 # 应用的端口 - port: 5000 # 应用的端口
run: pip install -i https://mirrors.tencent.com/pypi/simple/ -r ./requirements.txt && bash /usr/bin/start-vnc-session.sh && python ./app.py # 应用启动命令 run: python ./app.py # 应用启动命令
root: ./web # 应用的启动目录 root: ./web # 应用的启动目录
name: Python Cloud Studio Demo # 应用名称 name: Python Cloud Studio Demo # 应用名称
description: Python Cloud Studio Demo Project # 应用描述 description: Python Cloud Studio Demo Project # 应用描述
autoOpen: true # 打开工作空间时是否自动运行命令(优先级高于根级 autoOpen autoOpen: false # 打开工作空间时是否自动运行命令(优先级高于根级 autoOpen
autoPreview: true # 是否自动打开预览, 若无则默认为true autoPreview: false # 是否自动打开预览, 若无则默认为true