Spaces:
Paused
Paused
Commit History
-
feat: add dev-worktree.sh to set up and run a worktree for local dev
PNRxAMakes a freshly created git worktree runnable in one command: - Copies api/.env from the main worktree if the current one lacks it (never overwrites an existing .env). - --fresh wipes the worktree's api/db and api/cache for a clean slate. On the main worktree this would delete primary data, so it prompts for confirmation (or --yes); linked worktrees wipe without asking. - Installs web deps (npm ci, falling back to npm install) when missing. - Runs the Rust API (cargo run) and the Vite dev server (npm run dev) together; Ctrl+C or either process exiting tears down both. Also supports --release, --setup-only, and --help, and documents the script in scripts/README.md.cca484c