Skip to content

Commit 70ecdc6

Browse files
committed
docs: 调整 README 顺序,本地开发优先
1 parent ac68a23 commit 70ecdc6

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,6 @@
2020
- **多用户** - JWT 认证,数据隔离
2121
- **开箱即用** - 内置示例数据库
2222

23-
## 一键部署
24-
25-
无需本地环境,3 分钟完成:
26-
27-
### Step 1: 部署后端
28-
29-
[![Deploy Backend](https://img.shields.io/badge/部署后端-Render-46E3B7?style=for-the-badge&logo=render&logoColor=white)](https://render.com/deploy?repo=https://github.com/MKY508/QueryGPT)
30-
31-
1. 点击按钮,用 GitHub 登录 Render
32-
2. 点击 "Create New Resources"
33-
3. 等待部署完成,复制生成的 URL
34-
35-
### Step 2: 部署前端
36-
37-
[![Deploy Frontend](https://img.shields.io/badge/部署前端-Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FMKY508%2FQueryGPT&root-directory=apps/web&env=NEXT_PUBLIC_API_URL&envDescription=填入Step1获取的后端URL&project-name=querygpt-web)
38-
39-
1. 点击按钮,用 GitHub 登录 Vercel
40-
2.`NEXT_PUBLIC_API_URL` 填入 Step 1 的后端 URL
41-
3. 点击 "Deploy"
42-
43-
### Step 3: 开始使用
44-
45-
1. 访问前端 URL,注册账号
46-
2. 进入设置页面,添加 AI API Key(OpenAI/Anthropic/DeepSeek)
47-
3. 开始查询
48-
49-
> 免费额度: Render 750h/月,Vercel 无限制
50-
51-
---
52-
5323
## 截图
5424

5525
<table>
@@ -108,6 +78,36 @@ NEXT_PUBLIC_API_URL=http://localhost:8000
10878

10979
---
11080

81+
## 一键部署
82+
83+
无需本地环境,3 分钟完成:
84+
85+
### Step 1: 部署后端
86+
87+
[![Deploy Backend](https://img.shields.io/badge/部署后端-Render-46E3B7?style=for-the-badge&logo=render&logoColor=white)](https://render.com/deploy?repo=https://github.com/MKY508/QueryGPT)
88+
89+
1. 点击按钮,用 GitHub 登录 Render
90+
2. 点击 "Create New Resources"
91+
3. 等待部署完成,复制生成的 URL
92+
93+
### Step 2: 部署前端
94+
95+
[![Deploy Frontend](https://img.shields.io/badge/部署前端-Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FMKY508%2FQueryGPT&root-directory=apps/web&env=NEXT_PUBLIC_API_URL&envDescription=填入Step1获取的后端URL&project-name=querygpt-web)
96+
97+
1. 点击按钮,用 GitHub 登录 Vercel
98+
2.`NEXT_PUBLIC_API_URL` 填入 Step 1 的后端 URL
99+
3. 点击 "Deploy"
100+
101+
### Step 3: 开始使用
102+
103+
1. 访问前端 URL,注册账号
104+
2. 进入设置页面,添加 AI API Key(OpenAI/Anthropic/DeepSeek)
105+
3. 开始查询
106+
107+
> 免费额度: Render 750h/月,Vercel 无限制
108+
109+
---
110+
111111
## 技术栈
112112

113113
| 后端 | 前端 |
@@ -118,12 +118,6 @@ NEXT_PUBLIC_API_URL=http://localhost:8000
118118

119119
---
120120

121-
## 许可证
122-
123-
MIT License
124-
125-
---
126-
127121
## v1 vs v2
128122

129123
| | v1 | v2 |
@@ -137,6 +131,12 @@ MIT License
137131
138132
---
139133

134+
## 许可证
135+
136+
MIT License
137+
138+
---
139+
140140
<div align="center">
141141
<sub>觉得有用就给个 Star 吧</sub>
142142
</div>

0 commit comments

Comments
 (0)