- Changed site name and description in mkdocs.yml. - Revised content in index.md to provide a comprehensive overview of RAS features and capabilities. - Updated API reference and error documentation to replace AI Video Assistant with RAS. - Modified deployment and getting started guides to align with the new branding. - Enhanced quickstart instructions to specify RAS service requirements.
1.1 KiB
1.1 KiB
部署指南
本章节介绍如何将 Realtime Agent Studio (RAS) 部署到生产环境。
部署方式
| 方式 | 适用场景 | 复杂度 |
|---|---|---|
| Docker 部署 | 快速部署、容器化环境 | 简单 |
| 生产环境 | Nginx 反向代理、高可用 | 中等 |
快速开始
Docker 一键部署
docker build -t ai-video-assistant-web ./web
docker run -d -p 3000:80 --name ai-assistant-web ai-video-assistant-web
验证部署
- 访问 http://your-domain.com
- 检查页面是否正常加载
- 验证各功能模块是否可用
环境变量配置
| 变量 | 说明 | 默认值 |
|---|---|---|
| VITE_API_URL | 后端 API 地址 | http://localhost:8080 |
| VITE_GEMINI_API_KEY | Gemini API Key | - |
故障排查
| 问题 | 解决方案 |
|---|---|
| 页面空白 | 检查浏览器控制台错误 |
| API 请求失败 | 确认 VITE_API_URL 配置正确 |
| 静态资源 404 | 检查 nginx try_files 配置 |
更多问题请参考 故障排查。