From 2a9d4ca7b4060f34e51a3b5c02720d3ba4af275e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 24 Apr 2023 20:26:34 +0100 Subject: [PATCH] feat(justfile): add start and stop recipes --- templates/justfile.twig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/justfile.twig b/templates/justfile.twig index f57c648..1930d02 100644 --- a/templates/justfile.twig +++ b/templates/justfile.twig @@ -3,6 +3,15 @@ default: @just --list +# Start the project +start: + cp -v --no-clobber .env.example .env + docker compose up -d + +# Stop the project +stop: + docker compose down + {% if "php" is same as language %} composer *args: {{ "just _exec php composer {{ args }}" | raw }}