Files
explorer/docs/getting-started.md
D. Rimron-Soutter 9bb0a18695 Update setup docs and scripts
Refresh setup docs, add ZXDB local setup script, and note deploy rules.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 22:52:27 +00:00

1.3 KiB

Getting Started

This project is a Next.js app for exploring the Spectrum Next hardware. It uses the App Router, Bootstrap 5, and React-Bootstrap.

Prerequisites

  • Node.js 20 or newer
  • pnpm (recommended) or npm/yarn

Install

  • pnpm install
    • or: npm install

Run in development

ZXDB submodule local setup

  • The ZXDB repo is a submodule used as a read-only reference for schemas/scripts.
  • Some local SQL files are expected to exist but should stay untracked.
  • Run: pnpm setup:zxdb-local
    • This adds local excludes inside the submodule so git status stays clean.

Build and start (production)

Lint

  • pnpm lint

Deployment shortcuts

  • Use pnpm deploy (or pnpm deploy:branch) to merge the current branch into deploy and push to explorer.specnext.dev.
    • The deploy script refuses to run if there are uncommitted or untracked files.
  • One-step push helpers (if you prefer manual branch selection):
    • pnpm deploy-test: push the current branch to test.explorer.specnext.dev
    • pnpm deploy-prod: push the current branch to explorer.specnext.dev
    • Ensure the corresponding Git remotes are configured locally before using these.