make setup
Full first-time setup in a single command.
Usage
make setup
What it does
Runs the whole lifecycle in order:
env-prepare— create../.envfrom the template (if missing) and repair it (fix-workdir+fix-app).docker-up— host pre-flight (including the.envvalidation), thendocker compose up -dwith your host UID/GID forwarded.cli-enter— a quiet pre-flight on the container, then drop into thesplentshell.
By the time you reach the prompt, the .env is guaranteed correct and the
container is verified.
When to use
The first time you set up the workspace, or any time you want a clean, validated start. Safe to run repeatedly — every step is idempotent.
Related
make setup-rebuild— when images are stale.make cli— when the container is already built.