mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
feat(justfile): add start and stop recipes
This commit is contained in:
parent
fc87a82688
commit
2a9d4ca7b4
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue