commit | b295a362cec42b54d1a406bc2848165c552a3d50 | [log] [tgz] |
---|---|---|
author | 0yukali0 <a08h0283@gmail.com> | Mon Mar 20 14:24:33 2023 -0500 |
committer | Craig Condit <ccondit@apache.org> | Mon Mar 20 14:24:33 2023 -0500 |
tree | 28d3b0ad140e6cd82e5bf128ab25639b5998eb8f | |
parent | 153f1c999783e5d09b273ba712d29f2868481168 [diff] |
[YUNIKORN-1639] Adda command in the Makefile to start json-server (#107) Closes: #107 Signed-off-by: Craig Condit <ccondit@apache.org>
diff --git a/Makefile b/Makefile index 8d36d79..1305a52 100644 --- a/Makefile +++ b/Makefile
@@ -126,3 +126,8 @@ .PHONY: run run: image docker run -d -p ${PORT}:9889 ${REGISTRY}/yunikorn:web-${DOCKER_ARCH}-${VERSION} + +# Start the json-server based on the json-db and route. +.PHONY: json-server +json-server: + json-server ./json-db.json