forked from hashicorp/web-unified-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (19 loc) · 716 Bytes
/
makefile
File metadata and controls
22 lines (19 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: all
all: unified-docs
.PHONY: unified-docs
unified-docs:
@echo "Starting up the unified-docs Docker container"
docker compose --profile unified-docs up
.PHONY: clean
clean:
@echo "Stopping and removing Docker containers and images..."
docker compose --profile unified-docs down --rmi local; \
docker rmi hashicorp/dev-portal --force
@echo "Removing public/content and public/assets directories..."
rm -rf public/content public/assets
.PHONY: help
help:
@echo "Available commands:"
@echo " make : Run the unified-docs Docker container"
@echo " make clean : Stop and remove project Docker containers and images"
@echo " make help : Display this help message"