mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
refactor: Add frontend code to DB-GPT (#912)
This commit is contained in:
@@ -166,9 +166,18 @@ python pilot/server/dbgpt_server.py
|
||||
:::
|
||||
|
||||
## Visit website
|
||||
|
||||
#### 1. Production model:
|
||||
Open the browser and visit [`http://localhost:5000`](http://localhost:5000)
|
||||
|
||||
|
||||
#### 2. Development mode:
|
||||
```
|
||||
cd web & npm install
|
||||
cp .env.template .env
|
||||
// set the API_BASE_URL to your DB-GPT server address, it usually is http://localhost:5000
|
||||
npm run dev
|
||||
```
|
||||
Open the browser and visit [`http://localhost:3000`](http://localhost:3000)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user