- 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.
56 lines
1020 B
Markdown
56 lines
1020 B
Markdown
# 安装部署
|
||
|
||
本章节介绍如何安装和配置 Realtime Agent Studio (RAS) 开发环境。
|
||
|
||
## 概述
|
||
|
||
Realtime Agent Studio (RAS) 由以下组件构成:
|
||
|
||
| 组件 | 说明 |
|
||
|------|------|
|
||
| **Web 前端** | React + TypeScript 构建的管理界面 |
|
||
| **API 服务** | Python FastAPI 后端服务 |
|
||
| **Engine 服务** | 实时对话引擎(WebSocket) |
|
||
|
||
## 安装步骤
|
||
|
||
### 1. 克隆项目
|
||
|
||
```bash
|
||
git clone https://github.com/your-repo/AI-VideoAssistant.git
|
||
cd AI-VideoAssistant
|
||
```
|
||
|
||
### 2. 安装依赖
|
||
|
||
```bash
|
||
cd web
|
||
npm install
|
||
```
|
||
|
||
### 3. 配置环境变量
|
||
|
||
创建 `.env` 文件,详见 [配置说明](configuration.md)。
|
||
|
||
### 4. 启动开发服务器
|
||
|
||
```bash
|
||
npm run dev
|
||
```
|
||
|
||
访问 http://localhost:3000
|
||
|
||
## 构建生产版本
|
||
|
||
```bash
|
||
npm run build
|
||
```
|
||
|
||
构建产物在 `dist` 目录。
|
||
|
||
## 下一步
|
||
|
||
- [环境要求](requirements.md) - 详细的软件版本要求
|
||
- [配置说明](configuration.md) - 环境变量配置指南
|
||
- [部署指南](../deployment/index.md) - 生产环境部署
|