mirrors youngstartup setup. flake provides php 8.4, composer, nodejs, postgresql, cypress, typescript, process-compose. shellHook seeds a per-repo postgres cluster at .postgres/. process-compose orchestrates postgres + backend (laravel) + vite (vue spa) for local dev. .envrc auto-loads the flake via direnv. mailpit and gitlab-ci-local omitted - not needed for tide blogging app.
10 lines
171 B
Bash
10 lines
171 B
Bash
# Load the flake environment
|
|
use flake
|
|
|
|
# Use PHP and Node layouts
|
|
layout php
|
|
layout node
|
|
|
|
# Watch for dependency changes
|
|
watch_file composer.json
|
|
watch_file package.json
|