File size: 742 Bytes
db242f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { Callout } from 'nextra/components'

部署你的 ChatGPT 应用

## 本地部署

<Callout type="info" emoji="ℹ️">
    **Prerequisite** You should have installed Node.js (version 18.10.0 or
    higher).
</Callout>

步骤一:克隆项目

```bash
git clone https://github.com/AprilNEA/ChatGPT-Admin-Web.git
git checkout v3
cd ChatGPT-Admin-Web
cp config.example.yaml config.yaml
```

步骤二:安装依赖

``` bash pnpm
pnpm install
```

步骤三:配置项目

使用你熟悉的编辑器打开 `config.yaml` 文件,修改其中的配置项。

步骤四:构建项目
```bash
turbo run build
```

步骤五:启动项目
```bash
turbo run start
```
项目默认运行在 `http://localhost:3000`。

## 容器部署