Skip to content

Commit

Permalink
🔨(project) add network creation makefile rule
Browse files Browse the repository at this point in the history
Bootstrapping the project should create non existing external networks.
Adding a rule for that.
  • Loading branch information
wilbrdt committed Aug 23, 2024
1 parent b6d0580 commit d1a18bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit d1a18bd

Please sign in to comment.