Fix remote paths in CLAUDE.md, add tmux-hosts discovery
This commit is contained in:
parent
16b281bab4
commit
aa8af56835
1 changed files with 7 additions and 6 deletions
13
CLAUDE.md
13
CLAUDE.md
|
|
@ -108,7 +108,7 @@ When adding features, update ALL relevant docs:
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
# 2. Deploy (commit, push, pull on server, rebuild container)
|
# 2. Deploy (commit, push, pull on server, rebuild container)
|
||||||
git push && tmux send-keys -t 0:1 'cd ~/git/uncloseai-speech && git pull && sudo docker-compose up --build -d' Enter
|
git push && tmux send-keys -t 0:1 'cd ~/uncloseai-speech && git pull && sudo docker-compose up --build -d' Enter
|
||||||
|
|
||||||
# 3. Download voices (Piper + XTTS samples)
|
# 3. Download voices (Piper + XTTS samples)
|
||||||
make voices
|
make voices
|
||||||
|
|
@ -197,9 +197,10 @@ See `docs/MODELS.md` for complete roadmap and detailed model documentation.
|
||||||
|
|
||||||
**Production Server:** `3090-ai.foxhop.net`
|
**Production Server:** `3090-ai.foxhop.net`
|
||||||
- **URL:** https://speech.ai.unturf.com (proxied via ai.foxhop.net)
|
- **URL:** https://speech.ai.unturf.com (proxied via ai.foxhop.net)
|
||||||
- **Repo Location:** `/home/fox/git/uncloseai-speech`
|
- **Repo Location:** `/home/fox/uncloseai-speech`
|
||||||
- **Container:** `uncloseai-speech_server_1` (image: `uncloseai-speech:local`)
|
- **Container:** `uncloseai-speech_server_1` (image: `uncloseai-speech:local`)
|
||||||
- **tmux access:** `tmux send-keys -t 0:1 'command' Enter` (window 0:1 is 3090-ai)
|
- **tmux access:** Use `tmux-hosts` to discover window mappings, then `tmux send-keys -t 0:1 'command' Enter`
|
||||||
|
- **Current mapping:** window `0:1` is `3090-ai.foxhop.net` (verify with `tmux-hosts`)
|
||||||
|
|
||||||
### Deployment Workflow
|
### Deployment Workflow
|
||||||
|
|
||||||
|
|
@ -212,7 +213,7 @@ Local:
|
||||||
↓ git commit && git push
|
↓ git commit && git push
|
||||||
|
|
||||||
Remote (3090-ai.foxhop.net):
|
Remote (3090-ai.foxhop.net):
|
||||||
/home/fox/git/uncloseai-speech/
|
/home/fox/uncloseai-speech/
|
||||||
|
|
||||||
↓ git pull && sudo docker-compose up --build -d
|
↓ git pull && sudo docker-compose up --build -d
|
||||||
|
|
||||||
|
|
@ -232,7 +233,7 @@ tmux-hosts
|
||||||
|
|
||||||
# Push changes and deploy
|
# Push changes and deploy
|
||||||
git add -A && git commit -m "message" && git push
|
git add -A && git commit -m "message" && git push
|
||||||
tmux send-keys -t 0:1 'cd ~/git/uncloseai-speech && git pull && sudo docker-compose up --build -d' Enter
|
tmux send-keys -t 0:1 'cd ~/uncloseai-speech && git pull && sudo docker-compose up --build -d' Enter
|
||||||
|
|
||||||
# Check container status
|
# Check container status
|
||||||
tmux send-keys -t 0:1 'sudo docker ps | grep speech' Enter
|
tmux send-keys -t 0:1 'sudo docker ps | grep speech' Enter
|
||||||
|
|
@ -241,7 +242,7 @@ tmux send-keys -t 0:1 'sudo docker ps | grep speech' Enter
|
||||||
tmux send-keys -t 0:1 'sudo docker logs --tail 50 uncloseai-speech_server_1' Enter
|
tmux send-keys -t 0:1 'sudo docker logs --tail 50 uncloseai-speech_server_1' Enter
|
||||||
|
|
||||||
# Restart container
|
# Restart container
|
||||||
tmux send-keys -t 0:1 'cd ~/git/uncloseai-speech && sudo docker-compose restart' Enter
|
tmux send-keys -t 0:1 'cd ~/uncloseai-speech && sudo docker-compose restart' Enter
|
||||||
```
|
```
|
||||||
|
|
||||||
## Testing Philosophy
|
## Testing Philosophy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue