|
@@ -50,7 +50,7 @@ npm install
|
|
|
npm run dev
|
|
npm run dev
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-前端运行在 http://localhost:5173
|
|
|
|
|
|
|
+前端运行在 http://localhost:3000
|
|
|
|
|
|
|
|
## 生产部署
|
|
## 生产部署
|
|
|
|
|
|
|
@@ -77,7 +77,7 @@ python init_db.py
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
# 后端 (Gunicorn)
|
|
# 后端 (Gunicorn)
|
|
|
-gunicorn -w 4 -b 0.0.0.0:5000 wsgi:app
|
|
|
|
|
|
|
+python run.py
|
|
|
|
|
|
|
|
# 前端构建
|
|
# 前端构建
|
|
|
cd frontend
|
|
cd frontend
|