From d1a18bda6275ba67c0d321fb33a74d256c5411c8 Mon Sep 17 00:00:00 2001 From: Wilfried BARADAT Date: Thu, 28 Dec 2023 12:26:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8(project)=20add=20network=20creatio?= =?UTF-8?q?n=20makefile=20rule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bootstrapping the project should create non existing external networks. Adding a rule for that. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 938d6cc..3d63c1e 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,7 @@ e2e/data/video.mp4: ## generate a 5 second long video and put it in e2e/data di bootstrap: ## bootstrap the project bootstrap: \ + network \ migrate \ run \ realm @@ -109,6 +110,12 @@ migrate: ## perform database migrations $(COMPOSE_RUN) edx_cms python manage.py cms migrate .PHONY: migrate +network: ## create external networks + @echo "Creating external networks..." + docker network inspect potsie >/dev/null 2>&1 || docker network create potsie + docker network inspect ralph >/dev/null 2>&1 || docker network create ralph +.PHONY: network + run: ## start graylog/keycloak services run: \ run-keycloak \