From f120ee5e66f22275cb33eb40cdd4e4296ca5e40c Mon Sep 17 00:00:00 2001 From: Edan's Win11 <961150665@qq.com> Date: Tue, 3 Jun 2025 17:10:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=BA=86=20api=20?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E5=A4=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++++---- {web => sau_backend}/app.py | 0 2 files changed, 10 insertions(+), 4 deletions(-) rename {web => sau_backend}/app.py (100%) diff --git a/README.md b/README.md index f47e269..bd4427c 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,6 @@ 2. **安装依赖**: 建议在虚拟环境中安装依赖。 ```bash - cd sau_backend pip install -r requirements.txt ``` @@ -81,18 +80,25 @@ ``` 根据您的需求,至少需要安装 `chromium`。`firefox` 主要用于 TikTok 上传(旧版)。 -4. **启动前端项目**: +4. **启动后端项目**: + ```bash + cd sau_backend + python app.py + ``` + 后端项目将在 `http://localhost:5409` 启动。 + +5. **启动前端项目**: ```bash cd sau_frontend npm install npm run dev ``` - 前端项目将在 `http://localhost:5173` 启动。 - + 前端项目将在 `http://localhost:5173` 启动,在浏览器中打开此链接即可访问。 > 非程序员用户可以参考:[新手级教程](https://juejin.cn/post/7372114027840208911) + ## 🏁快速开始 1. **准备 Cookie**: diff --git a/web/app.py b/sau_backend/app.py similarity index 100% rename from web/app.py rename to sau_backend/app.py