Deploying This Site on Debian 13
The repository is a deployable tree that mirrors the server root. You don’t
install it like a normal Node app — you copy it into / and reload nginx.
Layout
| Repo path | Becomes on server |
|---|---|
site-main/var/www/reality/ | /var/www/reality/ (nginx root) |
site-main/etc/nginx/ | /etc/nginx/ |
Install
sudo DOMAIN=example.com ./site-main/scripts/install.sh
The script substitutes __DOMAIN__ placeholders in the nginx config, copies
the tree into place, enables the site, and runs nginx -t then reload.
Add a guide
- Drop a Markdown file into
site-main/web/src/content/guides/. - Run
npm run buildinsidesite-main/web/. - Commit the rebuilt
site-main/var/www/reality/and redeploy.
There is no upload backend by design — guides are version-controlled.