File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -109,18 +109,24 @@ pnpm dev
109109```
110110
111111### Service Startup
112- Before starting services, you need to activate the virtual environment:
112+ Before starting services, you need to create and activate the virtual environment:
113113
114114``` bash
115115# Execute in the backend directory of the project root directory
116116cd backend
117+ python -m venv .venv
117118source .venv/bin/activate # Activate virtual environment
118119```
119120
120121::: warning Important Notes
121122On Windows, you need to execute the ` source .venv/Scripts/activate ` command to activate the virtual environment.
122123:::
123124
125+ generate .env in the root directory
126+ ``` bash
127+ bash docker/generate_env.sh
128+ ```
129+
124130Nexent includes three core backend services that need to be started separately:
125131
126132``` bash
Original file line number Diff line number Diff line change @@ -109,18 +109,24 @@ pnpm run dev
109109```
110110
111111### 服务启动
112- 在启动服务之前,需要先激活虚拟环境 :
112+ 在启动服务之前,需要先创建并激活虚拟环境 :
113113
114114``` bash
115115# 在项目根目录的backend目录下执行
116116cd backend
117+ python -m venv .venv
117118source .venv/bin/activate # 激活虚拟环境
118119```
119120
120121::: warning 重要提示
121122Windows操作系统需执行` source .venv/Scripts/activate ` 命令激活虚拟环境。
122123:::
123124
125+ 在根目录中生成.env
126+ ``` bash
127+ bash docker/generate_env.sh
128+ ```
129+
124130Nexent 包含三个核心后端服务,需要分别启动:
125131
126132``` bash
You can’t perform that action at this time.
0 commit comments