Skip to content

Commit b12ade1

Browse files
committed
feat: Modify the readme
1 parent d184dfb commit b12ade1

2 files changed

Lines changed: 6 additions & 24 deletions

File tree

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ Note: If local debugging is required
148148
$ git clone git@github.com:alibaba/Chat2DB.git
149149
```
150150

151-
- Front-End installation
151+
- Front-End debug
152152

153153
```bash
154154
$ cd Chat2DB/chat2db-client
155-
$ npm install # Mounting front-end dependency
156-
$ npm run build:prod # Package js to the source directory on the back end
155+
$ yarn
156+
$ yarn run start:web
157157
```
158158

159159
- Backend debug
@@ -163,15 +163,6 @@ $ cd ../chat2db-server
163163
$ mvn clean install # maven 3.8 or later needs to be installed
164164
$ cd chat2db-server/chat2db-server-start/target/
165165
$ java -jar -Dchatgpt.apiKey=xxxxx chat2db-server-start.jar # To launch the chat application, you need to enter the ChatGPT key for the chatgpt.apiKey. Without entering it, you won't be able to use the AIGC function.
166-
$ # open http://127.0.0.1:10821 to start debug Note: Front-end installation is required
167-
```
168-
169-
- Front-End debug
170-
171-
```bash
172-
$ cd Chat2DB/chat2db-client
173-
$ yarn
174-
$ npm run start:web
175166
```
176167

177168
## 📑 Documentation

README_CN.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ https://github.com/chat2db/Chat2DB/assets/22975773/b58db908-5768-4a71-aa30-135d2
154154
$ git clone git@github.com:chat2db/Chat2DB.git
155155
```
156156

157-
- 前端安装
157+
- 前端调试
158158

159159
```bash
160160
$ cd Chat2DB/chat2db-client
161-
$ npm install # 安装前端依赖
162-
$ npm run build:prod # 把js打包生成到后端的source目录
161+
$ yarn
162+
$ yarn run start:web
163163
```
164164

165165
- 后端调试
@@ -169,15 +169,6 @@ $ cd ../chat2db-server
169169
$ mvn clean install # 需要安装maven 3.8以上版本
170170
$ cd chat2db-server/chat2db-server-start/target/
171171
$ java -jar -Dchatgpt.apiKey=xxxxx chat2db-server-start.jar # 启动应用 chatgpt.apiKey 需要输入ChatGPT的key,如果不输入无法使用AIGC功能
172-
$ # 打开 http://127.0.0.1:10821 开启调试 注:需要进行前端安装
173-
```
174-
175-
- 前端调试
176-
177-
```bash
178-
$ cd Chat2DB/chat2db-client
179-
$ yarn
180-
$ npm run start:web
181172
```
182173

183174
## 📑 文档

0 commit comments

Comments
 (0)