Skip to content

Add quick testenv launcher#246

Merged
andreasmolnardev merged 11 commits into
devfrom
dev-testenv
Jul 2, 2026
Merged

Add quick testenv launcher#246
andreasmolnardev merged 11 commits into
devfrom
dev-testenv

Conversation

@andreasmolnardev

@andreasmolnardev andreasmolnardev commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Implements #245.\n\nChanges:\n- Adds bun run dev:testenv / scripts/dev-testenv.sh for launching a test Docker Compose stack.\n- Generates ignored docker-compose.test.testenv.yaml with free app/PocketBase host ports.\n- Runs docker compose up --build so the image is rebuilt when the script starts.\n- Keeps internal PocketBase URLs on container port 8090; only the host port mapping changes for external access.\n- Starts Compose in tmux when available, otherwise keeps it attached to the script.\n- Creates/logs in a default user, opens a ?loginToken= URL, and cleans up on exit.\n- Handles ?loginToken= on the auth page by validating and storing the token before redirecting to /home.\n\nValidation:\n- bash -n scripts/dev-testenv.sh\n- bun run typecheck

@andreasmolnardev andreasmolnardev merged commit d2b9745 into dev Jul 2, 2026
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