Feat: Backend scaffolding and local dev stack
This commit is contained in:
39
Commands/Local/Dev/mod.just
Normal file
39
Commands/Local/Dev/mod.just
Normal file
@@ -0,0 +1,39 @@
|
||||
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
|
||||
Reference in New Issue
Block a user