部署Coze Studio需要完成以下四个关键步骤:
- environmental preparation:确保设备具备2核CPU/4GB内存基础配置,预先安装Docker、Golang 1.18+、Node.js LTS版本及pnpm包管理器
- Code Fetch: By
git clone https://github.com/coze-dev/coze-studio.git
克隆仓库,进入项目目录 - Model Configuration:复制模板文件配置火山引擎等模型服务的API密钥和Endpoint ID(需要提前在相应平台申请)
- service activation: Implementation
pnpm build
cap (a poem)go build
完成编译,通过Docker Compose启动容器组
部署成功后需注意:
- 首次启动需要拉取基础镜像,耗时较长属正常现象
- 必须正确配置
.env
in the fileCOZE_API_TOKEN
和基础API地址 - pass (a bill or inspection etc)
docker logs
命令可实时查看容器运行日志进行排错
This answer comes from the articleCoze Studio (Coze Open Source Edition): an open source low-code platform for rapidly building AI intelligencesThe