代码拉取完成,页面将自动刷新
# Image of workspace. Learn more: https://www.gitpod.io/docs/configure/workspaces/workspace-image
image: gitpod/workspace-full:latest
# List the start up tasks. Learn more: https://www.gitpod.io/docs/configure/workspaces/tasks
tasks:
- name: Run Open UI
init: |
mkdir $GITPOD_REPO_ROOT/../venv
cd $GITPOD_REPO_ROOT/../venv
python -m venv openui
source openui/bin/activate
cd $GITPOD_REPO_ROOT/backend
pip install .
gp sync-done init-done
command: |
source $GITPOD_REPO_ROOT/../venv/openui/bin/activate
cd $GITPOD_REPO_ROOT/backend
python -m openui
# List the ports to expose. Learn more: https://www.gitpod.io/docs/configure/workspaces/ports
ports:
- name: Open UI
description: Port 7878 for Open UI
port: 7878
onOpen: notify
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。