-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (33 loc) · 1.2 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
### deadline container make file v1.0.0
.EXPORT_ALL_VARIABLES:
dev: ## Start Deadline containers
mkdir -p db repository
docker compose up
setup: ## Setup Deadline containers host
sh setup.host.sh
down: ## Stop Deadline containers
docker compose down
repoclean: ## Clean Repository and Client files
sudo rm -rf ./repository/client
sudo rm -rf ./repository/repository
webclean: ## Clean Deadline Web App files
docker compose down --volumes --remove-orphans
docker system prune -af
sudo rm -rf ./db/*
sudo rm -rf ./deadline-web-app*
webapp: ## Download - Install Deadline Web App
sh install/setup_deadline-web-app.sh
download: ## Download Deadline installer
sh install/download_deadline.sh
sync: ## Sync Deadline plugins
@echo "Syncing custom plugins"
@mv deadline_custom/* repository/repository/custom/
all: ## Download Deadline, Clone Webapp, and Run all commands to start the Deadline containers
make download
make webapp
make dev
# help
help: ## Display this help screen
@echo "Makefile for working with Deadline containers"
@grep -E '^[a-z.A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@echo "-------------------------"