33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
.DEFAULT_GOAL := help
|
|
|
|
.PHONY: help demo-ui demo-down demo-logs docs docs-serve
|
|
|
|
help:
|
|
@printf '%s\n' \
|
|
'SciMesh developer commands:' \
|
|
' make demo-ui Start the local UI pipeline demo with 2 workers.' \
|
|
' make demo-ui WORKERS=3 Start the demo with 3 local workers.' \
|
|
' make demo-logs Follow coordinator logs for the demo.' \
|
|
' make demo-down Stop demo containers and workers.' \
|
|
' make docs Build the MkDocs site into site/.' \
|
|
' make docs-serve Serve the MkDocs site at http://localhost:8000.' \
|
|
'' \
|
|
'After make demo-ui: open http://localhost:18080/ui (operator / demo-ui-secret).'
|
|
|
|
# Convenient entry points from the repository root. Extra settings are passed
|
|
# through, for example: make demo-ui WORKERS=3
|
|
demo-ui:
|
|
$(MAKE) -C coordinator demo-ui
|
|
|
|
demo-down:
|
|
$(MAKE) -C coordinator demo-down
|
|
|
|
demo-logs:
|
|
$(MAKE) -C coordinator demo-logs
|
|
|
|
docs:
|
|
.venv/bin/mkdocs build
|
|
|
|
docs-serve:
|
|
.venv/bin/mkdocs serve
|