初始化:Astro 站点 + Sveltia CMS 后台 + 部署配置

This commit is contained in:
2026-06-11 17:18:51 +08:00
commit 53092b52db
37 changed files with 7586 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# ShiZhui 网站
电子 · 软件 · 通信 · 机器人方向的展示型网站。基于 [Astro](https://astro.build) 构建的静态站点。
## 快速开始
```bash
npm install # 安装依赖
npm run dev # 本地预览 http://localhost:4321
npm run build # 构建到 dist/
npm run preview # 预览构建结果
```
## 如何加内容
- **加博客**:在 `src/content/blog/` 新建 `.md`,参考 `hello-world.md` 的 frontmatter。
- **加项目**:在 `src/content/projects/` 新建 `.md`,参考 `sample-robot-arm.md`
- **改站点信息/导航/社交链接**:编辑 `src/site.config.ts`
## 文档
- 项目方案与结构:[`docs/PROJECT.md`](docs/PROJECT.md)
- 部署与运维:[`docs/DEPLOY.md`](docs/DEPLOY.md)