15 Bayview Rd

Deployment

Local hosting and Tailscale setup

Run this app privately on your local server and access it securely through your Tailscale tailnet.

Run locally

Use this for development or quick editing.

npm install
npm run seed
npm run dev

Open http://localhost:3000.

Run with Docker

Recommended for your local server.

docker compose up -d --build

Open http://your-server-name:3000 on your LAN or through Tailscale MagicDNS.

Tailscale access

Private access only. Do not use Funnel unless you want public internet access.

# From the server running the app
tailscale serve --bg 3000

Then open the Tailscale hostname from your laptop, phone or tablet.

Update workflow

How to keep the app current.

  1. Upload new quote or source documents to ChatGPT.
  2. Ask for an updated quote-vs-source review and export as JSON/Markdown.
  3. Update data/seed-data.json and the markdown source library.
  4. Run npm run reset-db or rebuild Docker.
  5. Back up database/, data/ and documents/.