Rename project for AdCloud tracking and ad delivery

This commit is contained in:
2026-09-15 19:04:53 +08:00
parent fd30c83152
commit f418e92673
6 changed files with 12 additions and 10 deletions
+6 -4
View File
@@ -1,12 +1,14 @@
# Python 后端服务器
# AdCloud Server
使用 FastAPI 开发,依赖和虚拟环境统一由 **uv** 管理。
面向开发者和 coding agent 的广告云埋点与广告推送后端。使用 FastAPI 开发,依赖和虚拟环境统一由 **uv** 管理。
当前为开发脚手架,提供健康检查与 API 文档;埋点与广告推送功能待实现。
## 开发
```sh
uv sync
uv run uvicorn backend_server.main:app --reload --host 127.0.0.1 --port 8000
uv run uvicorn adcloud_server.main:app --reload --host 127.0.0.1 --port 8000
```
- 健康检查:`http://localhost:8000/health`
@@ -17,7 +19,7 @@ uv run uvicorn backend_server.main:app --reload --host 127.0.0.1 --port 8000
通过环境变量配置逗号分隔的允许来源:
```sh
CORS_ORIGINS=https://your-frontend.example uv run uvicorn backend_server.main:app
CORS_ORIGINS=https://your-frontend.example uv run uvicorn adcloud_server.main:app
```
## 检查