Guides
Guides#deploy#guideOct 25, 2026 · updated Nov 4, 2026

Deploying to a server

Uploaded the files, ran npm run build — the site is updated.

bash
rsync -av vault/ server:/srv/newspaper/content/
ssh server 'cd /srv/newspaper && npm run build && pm2 restart newspaper'

No database: the structure is built by walking the directory, so syncing the files is enough.