40 lines
947 B
Plaintext
40 lines
947 B
Plaintext
stack_runner := justfile_directory() + "/Commands/Local/Dev/scripts/dev-stack.sh"
|
|
|
|
mod frontend
|
|
mod backend
|
|
|
|
# Build the combined local development stack assets.
|
|
build:
|
|
bash '{{stack_runner}}' build
|
|
|
|
# Start the full local development stack in the background.
|
|
up:
|
|
bash '{{stack_runner}}' up
|
|
|
|
# Build first, then start the full local development stack in the background.
|
|
start:
|
|
bash '{{stack_runner}}' start
|
|
|
|
# Alias for the main full local development flow.
|
|
dev: up
|
|
|
|
# Stop and remove the local development stack.
|
|
down:
|
|
bash '{{stack_runner}}' down
|
|
|
|
# Rebuild the full local development stack.
|
|
rebuild:
|
|
bash '{{stack_runner}}' rebuild
|
|
|
|
# Follow logs for the full local development stack.
|
|
logs:
|
|
bash '{{stack_runner}}' logs
|
|
|
|
# Restart the full local development stack.
|
|
restart:
|
|
bash '{{stack_runner}}' restart
|
|
|
|
# Stop the local development stack and remove local images, volumes, and backend dev state.
|
|
clean:
|
|
bash '{{stack_runner}}' clean
|