docs: 添加TOOLS.md记录Git认证和项目路径
This commit is contained in:
parent
f8894dd3f3
commit
03ac970c30
83
TOOLS.md
83
TOOLS.md
@ -1,40 +1,43 @@
|
||||
# TOOLS.md - Local Notes
|
||||
|
||||
Skills define _how_ tools work. This file is for _your_ specifics — the stuff that's unique to your setup.
|
||||
|
||||
## What Goes Here
|
||||
|
||||
Things like:
|
||||
|
||||
- Camera names and locations
|
||||
- SSH hosts and aliases
|
||||
- Preferred voices for TTS
|
||||
- Speaker/room names
|
||||
- Device nicknames
|
||||
- Anything environment-specific
|
||||
|
||||
## Examples
|
||||
|
||||
```markdown
|
||||
### Cameras
|
||||
|
||||
- living-room → Main area, 180° wide angle
|
||||
- front-door → Entrance, motion-triggered
|
||||
|
||||
### SSH
|
||||
|
||||
- home-server → 192.168.1.100, user: admin
|
||||
|
||||
### TTS
|
||||
|
||||
- Preferred voice: "Nova" (warm, slightly British)
|
||||
- Default speaker: Kitchen HomePod
|
||||
```
|
||||
|
||||
## Why Separate?
|
||||
|
||||
Skills are shared. Your setup is yours. Keeping them apart means you can update skills without losing your notes, and share skills without leaking your infrastructure.
|
||||
|
||||
---
|
||||
|
||||
Add whatever helps you do your job. This is your cheat sheet.
|
||||
# TOOLS.md - 项目工具笔记
|
||||
|
||||
## Git 认证
|
||||
|
||||
### Gitea 服务器
|
||||
- **地址**: http://192.168.3.71:8418
|
||||
- **用户名**: openclaw
|
||||
- **密码**: Password1!
|
||||
|
||||
### Push 命令
|
||||
```bash
|
||||
git add -A && git commit -m "message" && git push
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 网站路径
|
||||
|
||||
- **网站根目录**: `alacarte-novel-website/`
|
||||
- **章节JSON**: `alacarte-novel-website/data/chapter-*.json`
|
||||
- **章节HTML**: `alacarte-novel-website/chapters/chapter-*.html`
|
||||
- **JS配置**: `alacarte-novel-website/js/app.js`
|
||||
- **阅读器**: `alacarte-novel-website/reader.html`
|
||||
|
||||
---
|
||||
|
||||
## 通知脚本
|
||||
|
||||
```bash
|
||||
./notify.sh "章节标题" "概要" "精彩看点"
|
||||
```
|
||||
|
||||
发送到微信推送。
|
||||
|
||||
---
|
||||
|
||||
## 章节更新流程
|
||||
|
||||
1. 创建 `data/chapter-XX.json`
|
||||
2. 创建 `chapters/chapter-XX.html`
|
||||
3. 更新 `js/app.js` 版本号
|
||||
4. Git提交推送
|
||||
5. 执行notify.sh通知
|
||||
Loading…
Reference in New Issue
Block a user