forked from CodePhiliaX/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d184dfb
commit b12ade1
Showing
2 changed files
with
6 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,12 +148,12 @@ Note: If local debugging is required | |
$ git clone [email protected]:alibaba/Chat2DB.git | ||
``` | ||
|
||
- Front-End installation | ||
- Front-End debug | ||
|
||
```bash | ||
$ cd Chat2DB/chat2db-client | ||
$ npm install # Mounting front-end dependency | ||
$ npm run build:prod # Package js to the source directory on the back end | ||
$ yarn | ||
$ yarn run start:web | ||
``` | ||
|
||
- Backend debug | ||
|
@@ -163,15 +163,6 @@ $ cd ../chat2db-server | |
$ mvn clean install # maven 3.8 or later needs to be installed | ||
$ cd chat2db-server/chat2db-server-start/target/ | ||
$ 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. | ||
$ # open http://127.0.0.1:10821 to start debug Note: Front-end installation is required | ||
``` | ||
|
||
- Front-End debug | ||
|
||
```bash | ||
$ cd Chat2DB/chat2db-client | ||
$ yarn | ||
$ npm run start:web | ||
``` | ||
|
||
## 📑 Documentation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,12 +154,12 @@ https://github.com/chat2db/Chat2DB/assets/22975773/b58db908-5768-4a71-aa30-135d2 | |
$ git clone [email protected]:chat2db/Chat2DB.git | ||
``` | ||
|
||
- 前端安装 | ||
- 前端调试 | ||
|
||
```bash | ||
$ cd Chat2DB/chat2db-client | ||
$ npm install # 安装前端依赖 | ||
$ npm run build:prod # 把js打包生成到后端的source目录 | ||
$ yarn | ||
$ yarn run start:web | ||
``` | ||
|
||
- 后端调试 | ||
|
@@ -169,15 +169,6 @@ $ cd ../chat2db-server | |
$ mvn clean install # 需要安装maven 3.8以上版本 | ||
$ cd chat2db-server/chat2db-server-start/target/ | ||
$ java -jar -Dchatgpt.apiKey=xxxxx chat2db-server-start.jar # 启动应用 chatgpt.apiKey 需要输入ChatGPT的key,如果不输入无法使用AIGC功能 | ||
$ # 打开 http://127.0.0.1:10821 开启调试 注:需要进行前端安装 | ||
``` | ||
|
||
- 前端调试 | ||
|
||
```bash | ||
$ cd Chat2DB/chat2db-client | ||
$ yarn | ||
$ npm run start:web | ||
``` | ||
|
||
## 📑 文档 | ||
|