Handover workspace

ERS, Todo, OfferReview, and Docu in one view

Imported from live server docs, code structure, and deployment notes.

Apr 3, 2026, 12:38 PM

DocuHandshake

Runtime Context

No summary found yet.

_generated/01-runtime-context.md

Updated Apr 3, 2026, 12:38 PM

Runtime Context

Deployment

  • Tool: DocuHandshake
  • Domain: docu2.r32a.com
  • Framework: Vite + React + Express
  • Runtime summary: Vite + Express + PostgreSQL
  • Code path: /srv/apps/docu/prod
  • Working directory: /srv/apps/docu/prod
  • Environment file: /etc/docu-prod.env
  • Repo: git@github.com:rrzli/docu.git
  • Branch: main
  • Last commit: 319ceed (2026-02-23)
  • Health: partial

Services

ServiceActiveEnabled
docu-web-prod.serviceactiveenabled
activeunknownunknown
enabledunknownunknown
docu-api-prod.serviceactiveenabled

Ports

LabelAddressStatus
Web port127.0.0.1:3004listening
API port127.0.0.1:3003listening

Important Environment Keys

  • NODE_ENV
  • HOST
  • PORT
  • DATABASE_URL
  • APP_BASE_URL
  • API_BASE_URL
  • JWT_SECRET
  • ADMIN_PASSWORD
  • STORAGE_ROOT
  • RESEND_API_KEY
  • RESEND_FROM_EMAIL
  • OPENAI_API_KEY
  • OPENAI_MODEL

Data Paths

  • /srv/apps/docu/storage
  • /srv/apps/docu/prod

Start Commands

  • npm run preview -- --host 127.0.0.1 --port 3004
  • npm run start:server

Common Support Commands

  • cd /srv/apps/docu/prod
  • git -C /srv/apps/docu/prod status -sb
  • git -C /srv/apps/docu/prod log -1 --oneline
  • systemctl status docu-web-prod.service
  • journalctl -u docu-web-prod.service -n 100 --no-pager
  • systemctl restart docu-web-prod.service
  • systemctl status active
  • journalctl -u active -n 100 --no-pager
  • systemctl restart active
  • systemctl status enabled
  • journalctl -u enabled -n 100 --no-pager
  • systemctl restart enabled
  • systemctl status docu-api-prod.service
  • journalctl -u docu-api-prod.service -n 100 --no-pager
  • systemctl restart docu-api-prod.service