Project · Saas Lifebot · Runbooks

Runbook — MacBook → ThinkCentre port

Move development work from MacBook to the home ThinkCentre without copying secrets or

type runbookstatus activelifebot · git · macbook · thinkcentre

node_modules.

Prerequisites

  • Code builds on MacBook
  • Git remote (GitHub/GitLab private repo)
  • ThinkCentre reachable (local or Tailscale SSH)

Steps

  1. On MacBook: commit + git push origin main (SAAS-Lifebot and Obsidian-Docs).
  2. On ThinkCentre: git clone or git pull.
  3. Secrets: create .env on ThinkCentre only. Prefer generating new APP_SECRET and production Clerk keys rather than scp’ing Mac .env long-term.
  4. Do not rsync node_modules, .next, or local.db for production.
  5. docker compose up -d --build (production path).
  6. Update Clerk allowed URLs for the ThinkCentre public/tailnet hostname.
  7. Optional: install Grok Build on ThinkCentre for future edits; still use git.

Verification

  • git log -1 matches MacBook tip
  • App serves on ThinkCentre URL
  • Dev MacBook no longer required for friends to use the app

Rollback

Keep previous image/tag or git checkout prior commit and rebuild.

Compiled from wiki/projects/SAAS-Lifebot/runbooks/mac-to-thinkcentre-port.md · git is the source of truth