Files
IOPaint/.vscode/preview.yml
李渊博 780d8188d2 init
2023-04-11 12:55:11 +08:00

17 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# .vscode/preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- 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 # 应用启动命令
root: ./web # 应用的启动目录
name: Python Cloud Studio Demo # 应用名称
description: Python Cloud Studio Demo Project # 应用描述
autoOpen: true # 打开工作空间时是否自动运行命令(优先级高于根级 autoOpen
autoPreview: true # 是否自动打开预览, 若无则默认为true
- port: 6080 # VNC 应用的端口 用于编写展示 GUI 程序的输出
run: bash /usr/bin/start-vnc-session.sh # VNC应用的启动命令
root: /usr/bin/ # 应用的启动目录
name: VNC # 应用名称
description: VNC # 应用描述
autoOpen: true # 打开工作空间时是否自动运行命令(优先级高于根级 autoOpen
autoPreview: false # 是否自动打开预览, 若无则默认为true