diff options
| author | Sam Scholten | 2026-08-30 13:20:06 +1000 |
|---|---|---|
| committer | Sam Scholten | 2026-08-30 13:20:06 +1000 |
| commit | 25f47ca899527ed2b16d19209c0546413e057126 (patch) | |
| tree | 7b441ff0c8be2a8f914caab75adaf8e310352eb7 | |
| parent | f9b68825092d6c1eed18a77340eb2238d9dbef40 (diff) | |
| download | fluxrec-25f47ca899527ed2b16d19209c0546413e057126.tar.gz fluxrec-25f47ca899527ed2b16d19209c0546413e057126.zip | |
deploy: drop ineffective mkdir, document state-dir bootstrap
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | justfile | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -53,3 +53,5 @@ runs.jsonl server run log; doubles as the RSS render source - Training stays on the local PC; the server only scores (low RAM). - Deploy `serve` only after a `train` run on enough organic stars shows an honest precision@15 in report.json; tiny validation sets lie. +- Server state dir: `sudo install -d -o <user> -g <user> ~/fluxrec-data` + **before the first `compose up`** (Docker otherwise creates it as root). @@ -52,10 +52,9 @@ retrain: check-auth # SERVER is an ssh config alias; the agent does auth. No hostnames in this # file. Run `ship` only after eyeballing report.json — retrain never deploys. -# Ship a freshly trained model.json to the server (compose mounts -# ~/fluxrec-data at the container's state dir) +# Ship a freshly trained model.json to the server state dir (bind-mounted +# at /data; created once on the VPS: see README "Deployment") deploy SERVER: - ssh {{SERVER}} 'mkdir -p ~/fluxrec-data' scp model.json {{SERVER}}:~/fluxrec-data/ # Bounce the serve container so it picks up the new model (fluxrec runs |
