Files
sincos.cc-website/README.md
T
2026-08-13 21:24:16 +08:00

29 lines
747 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Easy Data Collector 聚合站
`sincos.cc` 单站架构:博客(首页)+ ResLib(License 申请系统)+ 子页板块。
## 目录
```
website/ FastAPI 后端(博客/ResLib/申请/管理后台,端口 8003)
blog/ 博客构建脚本 + 文章(markdown)
deploy/ 部署文档
```
## 快速开始
```bash
pip install -r website/requirements.txt
cd website
uvicorn main:app --host 0.0.0.0 --port 8003
```
管理后台密码:环境变量 `RESLIB_ADMIN_PASSWORD` 或 `/opt/website/.env` 文件。
## 写博客
`blog/posts/*.md`(front matter: title/date/tags)→ `python -X utf8 blog/build.py`
生成结果输出到 `website/static/`(home.html / about.html / blog/)。
部署详见 `deploy/DEPLOY.md`。