💬 Commit message: Update 2026-02-15 08:03:38, 10 files, 372 lines

📁 Files changed: 10
📝 Lines changed: 372

  • deploy.md
  • .coverage
  • deploy.sh
  • __init__.py
  • comfy_routes.py
  • index-BEOoAFTp.css
  • index-Wi7i1Rks.js
  • index.html
  • GenerateView.vue
  • app.ts
This commit is contained in:
Adam Ladachowski
2026-02-15 08:03:38 +01:00
parent 356d8fd156
commit 3638bd7d81
10 changed files with 299 additions and 73 deletions
+16 -8
View File
@@ -11,13 +11,21 @@ Run the deploy script:
## 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
2. **Sync code** - Rsyncs Python code to `/opt/tensors/app/`
3. **Fix permissions** - Sets ownership to `tensors:tensors`
4. **Restart tensors** - Runs `sudo systemctl restart tensors`
5. **Verify tensors** - Checks service is running
## Endpoints
## Service Structure
- **UI**: https://tensors.saiden.dev
- **API**: https://sd-api.saiden.dev (requires `X-API-Key` header)
| Item | Value |
|------|-------|
| User/Group | `tensors:tensors` |
| Install path | `/opt/tensors/app` |
| Venv | `/opt/tensors/venv` |
| Service | `tensors.service` |
| Port | 8081 |
## Access
- **Local**: http://junkpile:8081