Files
tensors/.claude/commands/deploy.md
T
Adam Ladachowski 80faead7eb 💬 Commit message: Update 2026-02-14 22:47:41, 18 files, 494 lines
📁 Files changed: 18
📝 Lines changed: 494

  • deploy.md
  • TASK.md
  • justfile
  • deploy.sh
  • config.py
  • __init__.py
  • generate_routes.py
  • models_routes.py
  • routes.py
  • sd_client.py
  • index-CcuP2dTH.css
  • index-DmOZ-7Sw.js
  • index-J_qzb7Jl.js
  • index-QncGJEyk.css
  • index.html
  • client.ts
  • GenerateView.vue
  • app.ts
2026-02-14 22:47:41 +01:00

24 lines
658 B
Markdown

# Deploy Tensors to Junkpile
Build, deploy, and restart tensors on junkpile with verification.
Run the deploy script:
```bash
./scripts/deploy.sh
```
## What it does
1. **Build UI** - Runs `npm run build` in `tensors/server/ui/`
2. **Sync code** - Rsyncs Python code and static files to junkpile
3. **Restart tensors** - Runs `sudo systemctl restart tensors`
4. **Verify tensors** - Checks `/api/models/status` responds
5. **Verify sd-server** - Checks sd-server is active
6. **Verify external** - Checks `sd-api.saiden.dev` responds
## Endpoints
- **UI**: https://tensors.saiden.dev
- **API**: https://sd-api.saiden.dev (requires `X-API-Key` header)