cptadmin / docs /src /pages /start.mdx
BG5's picture
Upload 253 files
db242f8
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`。
## 容器部署