feat(demo): add a run-demo make target

This allows to run demo locally with a single command
This commit is contained in:
Łukasz Mierzwa
2018-11-08 22:14:29 +00:00
parent 8e39e4342c
commit 0a77bbae1b

View File

@@ -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