Commit Graph

2 Commits

Author SHA1 Message Date
type-two
a7c63f47c1 deploy: durable host bind-mount instead of ephemeral docker cp
The docker-cp deploy wrote morpquest into forum-nginx's writable layer;
when the container was recreated (July 5) the files vanished and the site
fell through to the forum SPA fallback. Every other game there is a host
bind-mount, which survives recreation — morpquest now is too:
  forum/docker-compose.yml: /home/humanjing/morpquest -> .../html/morpquest:ro
deploy.sh now just rsyncs into that live mount (instant, no recreate).

Also fixed the .wav MIME: forum nginx.conf now maps audio/wav (the
chiptunes were serving as application/octet-stream). Both changes survive
container recreation (bind-mounted conf + compose volume).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 11:43:35 +10:00
type-two
e391417cf9 Web + music: chiptune soundtrack, browser shell, one-command deploy
- tools/gen_music.py: pure-stdlib 8-bit synth -> music/{calm,eerie,tense,
  jolly,spooky}.wav, five loop-clean mood tracks (the shop floor gets a
  four-on-the-floor house groove, obviously). Engine plays them per room;
  web build serves them next to the wasm.
- web/index.html: MORPQUEST page shell (EGA palette, README tab, no
  account chrome).
- deploy.sh: builds the wasm via MRPGI/web/build.sh with this game baked
  in and swaps it into forum-nginx:/usr/share/nginx/html/morpquest/,
  right next door to /beyondmorp/.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 15:53:06 +10:00