CODY-011 deploy/install.sh performs the ownership-sensitive sequence: the
release is copied to app.new, that one directory is given to the
hermeven user, npm ci runs unprivileged, and the finished tree is
handed back to root:root with group/other write removed. Secrets,
state and model directories are never touched. The guide now gives
exact commands, including the C/C++ toolchain a clean host needs
(found by running it on one).
CODY-012 install.sh builds the phone page with the bridge address preset
and installs it root-owned into /opt/hermeven/www for Caddy. The
guide explains the web build versus the .ehpk package and when
each is needed.
CODY-013 README states which commit was deployed, what was checked, and
what remains unverified.
Also corrects a wrong diagnosis recorded in the previous commit: the phone
page that showed "Browser preview" had been opened in Chrome, not in the
Even app. Host detection keeps a short precautionary wait (2.5 s) and its
comments no longer claim an observed Even-app delay.
tests/deploy/runbook-proof.sh proves the guide on a disposable Ubuntu 24.04
host with systemd.
Not reviewed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
9 lines
465 B
Docker
9 lines
465 B
Docker
# Disposable Ubuntu 24.04 host with systemd as PID 1, for proving docs/deploy-droplet.md.
|
|
# Only the operating system and systemd are prepared here. Everything the guide tells the
|
|
# operator to install (Caddy, git, Node.js, Hermeven) is installed by the proof script.
|
|
FROM ubuntu:24.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update -qq && apt-get install -y -qq systemd systemd-sysv dbus >/dev/null && apt-get clean
|
|
STOPSIGNAL SIGRTMIN+3
|
|
CMD ["/sbin/init"]
|