Skip to content

chore: add Paseo worktree setup and workspace scripts - #21

Merged
Backroads4Me merged 1 commit into
mainfrom
chore/paseo-workspace-scripts
Nov 5, 2026
Merged

Backroads4Me merged 1 commit into
mainfrom
chore/paseo-workspace-scripts

Conversation

@Backroads4Me

Copy link
Copy Markdown
Owner

Adds paseo.json so Paseo worktrees of this repo get a dependency setup step and named scripts instead of hand-run commands.

  • worktree.setup installs the api and web dependencies for a new worktree (uv sync --frozen --extra dev, npm ci).
  • test-api, test-web, lint, build, migrate, seed expose the common checks as workspace scripts, all pinned with --frozen / ci so a worktree cannot drift from the lockfiles.
  • api and web run as Paseo services on PASEO_PORT with per-worktree proxy hostnames; web warns when the api port it points at has nothing listening.
  • Every database-touching script reads DATABASE_URL, REDIS_URL, SECRET_KEY and the admin seed values from an untracked .env.paseo in the source checkout (PASEO_SOURCE_CHECKOUT_PATH), and fails fast with a message when one is missing. MEDIA_DIR defaults inside the worktree, so a worktree never writes into the deployed compose media tree and never points at the production database.

Dev tooling only: no application code, no dependency change, no workflow change. docker-build.yml still builds only on a VERSION change on main.

Installs the api and web dependencies for new worktrees and exposes test, lint, build, migrate, and seed scripts plus the api and web dev services. The dev scripts read DATABASE_URL, REDIS_URL, and SECRET_KEY from an untracked .env.paseo in the source checkout and keep MEDIA_DIR inside the worktree, so they never reach the deployed database or the compose media tree.
@Backroads4Me
Backroads4Me merged commit 50efcd3 into main Nov 5, 2026
2 checks passed
@Backroads4Me
Backroads4Me deleted the chore/paseo-workspace-scripts branch November 5, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant