From 081f3d782ab77b92f9c34366a8ac06fbf86e8ffc Mon Sep 17 00:00:00 2001 From: alvis Date: Sun, 8 Mar 2026 06:58:50 +0000 Subject: [PATCH] Add Claude Code setup to installation guide --- Agap-Installation.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Agap-Installation.md b/Agap-Installation.md index aa0d725..366b6d0 100644 --- a/Agap-Installation.md +++ b/Agap-Installation.md @@ -130,7 +130,36 @@ Add: 30 3 * * * rsync -a --delete /mnt/ssd/dbs/ /mnt/backups/dbs/ >> /mnt/backups/dbs/cron.log 2>&1 && touch /mnt/backups/dbs/.last_sync ``` -## 7. Services +## 7. Claude Code + +Install [Claude Code](https://claude.ai/code), then configure: + +**`~/.claude/settings.json`** — env vars and preferences: + +```json +{ + "env": { + "GITEA_TOKEN": "", + "ZABBIX_TOKEN": "", + "HTTP_PROXY": "http://127.0.0.1:56928", + "HTTPS_PROXY": "http://127.0.0.1:56928", + "ALL_PROXY": "http://127.0.0.1:56928", + "NO_PROXY": "localhost,127.0.0.1,172.17.0.0/16", + "TELEGRAM_BOT_TOKEN": "", + "TELEGRAM_CHAT_ID": "", + "HA_TOKEN": "" + }, + "effortLevel": "low" +} +``` + +**`~/.claude/CLAUDE.md`** — global instructions (Gitea wiki integration, Zabbix API, HA API). Copy from existing Agap setup. + +**`~/agap_git/CLAUDE.md`** — project-level instructions (services, storage paths, common commands). Already in the repo. + +> Tokens must be regenerated on a fresh install — they are not stored in the repo. + +## 8. Services Start all Docker services: