feat(justfile): add start and stop recipes

This commit is contained in:
Oliver Davies 2023-04-24 20:26:34 +01:00
parent fc87a82688
commit 2a9d4ca7b4

View file

@ -3,6 +3,15 @@
default: default:
@just --list @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 %} {% if "php" is same as language %}
composer *args: composer *args:
{{ "just _exec php composer {{ args }}" | raw }} {{ "just _exec php composer {{ args }}" | raw }}