💬 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
This commit is contained in:
Adam Ladachowski
2026-02-14 22:47:41 +01:00
parent b638ec9385
commit 80faead7eb
18 changed files with 460 additions and 34 deletions
+23
View File
@@ -0,0 +1,23 @@
# 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)