From 0a77bbae1bf5c7ca7e5bf33a5348825a3e36718c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 8 Nov 2018 22:14:29 +0000 Subject: [PATCH] feat(demo): add a run-demo make target This allows to run demo locally with a single command --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 222378de8..0337e46cb 100644 --- a/Makefile +++ b/Makefile @@ -102,6 +102,12 @@ run-docker: docker-image -p $(PORT):$(PORT) \ $(NAME):$(VERSION) +.PHONY: run-demo +run-demo: + docker build --build-arg VERSION=$(VERSION) -t $(NAME):demo -f demo/Dockerfile . + @docker rm -f $(NAME)-demo || true + docker run --name $(NAME)-demo -p $(PORT):$(PORT) -p 9093:9093 -p 9094:9094 $(NAME):demo + .PHONY: lint-git-ci lint-git-ci: .build/deps-build-node.ok ui/node_modules/.bin/commitlint-travis