Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/docs/en/getting-started/development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nexent/
Before starting backend development, you need to deploy infrastructure services. These services include databases, caching, file storage, and other core components.

```bash
# Execute in the docker directory of the project root directory
cd docker
./deploy.sh --mode infrastructure
```
Expand All @@ -63,6 +64,7 @@ Infrastructure mode will start PostgreSQL, Redis, Elasticsearch, and MinIO servi

### Backend Setup
```bash
# Execute in the backend directory of the project root directory
cd backend
uv sync --all-extras
uv pip install ../sdk
Expand Down Expand Up @@ -100,6 +102,7 @@ It's recommended to use multiple mirror source configurations to improve downloa

### Frontend Setup
```bash
# Execute in the frontend directory of the project root directory
cd frontend
pnpm install
pnpm dev
Expand All @@ -109,7 +112,7 @@ pnpm dev
Before starting services, you need to activate the virtual environment:

```bash
# Execute in the project backend directory
# Execute in the backend directory of the project root directory
cd backend
source .venv/bin/activate # Activate virtual environment
```
Expand Down
5 changes: 4 additions & 1 deletion doc/docs/zh/getting-started/development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nexent/
在开始后端开发之前,需要先部署基础设施服务。这些服务包括数据库、缓存、文件存储等核心组件。

```bash
# 在项目根目录的docker目录下执行
cd docker
./deploy.sh --mode infrastructure
```
Expand All @@ -63,6 +64,7 @@ cd docker

### 后端设置
```bash
# 在项目根目录的backend目录下执行
cd backend
uv sync --all-extras
uv pip install ../sdk
Expand Down Expand Up @@ -100,6 +102,7 @@ uv pip install ../sdk --index https://pypi.tuna.tsinghua.edu.cn/simple --index h

### 前端设置
```bash
# 在项目根目录的frontend目录下执行
cd frontend
pnpm install
pnpm run dev
Expand All @@ -109,7 +112,7 @@ pnpm run dev
在启动服务之前,需要先激活虚拟环境:

```bash
# 在项目backend目录下执行
# 在项目根目录的backend目录下执行
cd backend
source .venv/bin/activate # 激活虚拟环境
```
Expand Down