Release 3.5
Dev Tooling, Init Script & Developer Guide
One-command setup, unified dev commands, production DB download, and onboarding documentation
Overview
A complete developer experience overhaul that replaced Docker exec and yarn-based workflows with bun run dev:* commands, added automated first-time setup, production database download, a full developer guide, and a port migration to avoid local conflicts.
What Changed
Automated Setup (PR #697)
bun run initruns the full first-time setup: Docker containers, Composer, Bun install, database download, asset build, and cache clear.- Eliminates the multi-step manual onboarding process.
Unified Dev Commands
| Command | Purpose |
|---|---|
bun run dev | Start everything (containers + dashboard) |
bun run dev:cc | Clear Symfony cache |
bun run dev:updatedb | doctrine:schema:update |
bun run dev:composer | Install PHP dependencies |
bun run dev:assets | Build frontend assets |
bun run dev:watch | Watch mode for assets |
bun run dev:test | Run PHPUnit tests |
bun run dev:lint / dev:fix | PSR-12 lint and auto-fix |
bun run dev:shell | Enter PHP container |
bun run dev:download-db | Download production database |
Production DB Download
bun run dev:download-dbpulls the production database via SSH, excluding large tables (system_log,etl_property_address,etl_parcel,address_cache).bun run dev:download-db -- --importdownloads and imports in one step (drops local DB first).
Port Migration (PR #696)
- All Docker ports prefixed with
1to avoid conflicts: 8000 to 18000, 8444 to 18444, 8080 to 18080, 8025 to 18025. - Updated docker-compose, nginx configs, CORS settings, Stripe fallback, E2E defaults.
- Auth0 callback URLs registered for localhost:18000 and localhost:18444.
Dev Dashboard
- Command Reference tab with every available command grouped by category.
- Deployment tab with step-by-step release guide, server layout, and rollback instructions.
Files Touched
| File | Change |
|---|---|
package.json | All new dev:* scripts |
scripts/dev-init.ts | Automated setup |
scripts/dev-download-db.ts | DB download utility |
scripts/dev-commands.ts | Shared command data |
scripts/dev-dashboard-server.ts | Dashboard tabs |
docs/DEVELOPER_SETUP.md | Onboarding guide |
docker-compose.yml | Port migration |
CLAUDE.md | Updated workflow documentation |