Revamp documentation structure in mkdocs.yml by reorganizing navigation for improved accessibility. Remove outdated content from previous sections and introduce new topics including detailed guides on assistant management, configuration options, and tool integrations. Enhance API reference documentation with comprehensive error codes and WebSocket protocol details. Add new sections for automated testing, data analysis, and knowledge base management, ensuring a cohesive and user-friendly documentation experience.
This commit is contained in:
55
docs/content/getting-started/index.md
Normal file
55
docs/content/getting-started/index.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# 安装部署
|
||||
|
||||
本章节介绍如何安装和配置 AI Video Assistant 开发环境。
|
||||
|
||||
## 概述
|
||||
|
||||
AI Video Assistant 由以下组件构成:
|
||||
|
||||
| 组件 | 说明 |
|
||||
|------|------|
|
||||
| **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) - 生产环境部署
|
||||
Reference in New Issue
Block a user