mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 03:15:34 +01:00
feat(justfile): add start and stop recipes
This commit is contained in:
parent
fc87a82688
commit
2a9d4ca7b4
1 changed files with 9 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue