80faead7eb
📁 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
658 B
658 B
Deploy Tensors to Junkpile
Build, deploy, and restart tensors on junkpile with verification.
Run the deploy script:
./scripts/deploy.sh
What it does
- Build UI - Runs
npm run buildintensors/server/ui/ - Sync code - Rsyncs Python code and static files to junkpile
- Restart tensors - Runs
sudo systemctl restart tensors - Verify tensors - Checks
/api/models/statusresponds - Verify sd-server - Checks sd-server is active
- Verify external - Checks
sd-api.saiden.devresponds
Endpoints
- UI: https://tensors.saiden.dev
- API: https://sd-api.saiden.dev (requires
X-API-Keyheader)