add nix flake devshell and process-compose
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.
This commit is contained in:
parent
91cc08614d
commit
d1df7a6a42
5 changed files with 165 additions and 0 deletions
10
.envrc
Normal file
10
.envrc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue