docs: note that prod asset sync is separate from deploy.sh
This commit is contained in:
parent
16eb96a60e
commit
7420a4ecdb
@ -81,3 +81,10 @@ three.js, same conventions as MESHGOD (`~/Documents/MESHGOD`).
|
||||
- Path traversal: every endpoint that takes a path must resolve + verify it
|
||||
stays inside its root (ship-check rule).
|
||||
- Verbose commands (installs, test runs, ffmpeg): pipe through `| lm -l 2`.
|
||||
|
||||
## Prod asset sync (easy to forget)
|
||||
Templates in `templates/` ship with the CODE (rsync/`deploy.sh` carries them), but the
|
||||
assets they reference live in the VPS volume `/opt/scenegod-data/assets/` which deploy.sh
|
||||
deliberately EXCLUDES. After adding any asset a template references:
|
||||
`rsync -az assets/ root@100.94.195.115:/opt/scenegod-data/assets/`
|
||||
(caught live: the record-store template shipped pointing at a plate prod didn't have).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user