-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
84 lines (61 loc) · 2.75 KB
/
Copy pathMakefile
File metadata and controls
84 lines (61 loc) · 2.75 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.PHONY: help
.PHONY: create-starter-site-pr overwrite-starter-site
.PHONY: build pull down down-% logs-% up up-%
.PHONY: clean demo-objects init ping status
.PHONY: sequelace
.PHONY: traefik-certs traefik-http traefik-https-letsencrypt traefik-https-mkcert
.PHONY: update-lehigh-guest-networks update-lehigh-guest-networks-dry-run
.SILENT:
# If custom.makefile exists include it.
-include custom.Makefile
DEFAULT_HTTP=80
DEFAULT_HTTPS=443
help: ## Show this help message
echo 'Usage: make [target]'
echo ''
echo 'Available targets:'
awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[36m%s\033[0m\t%s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort | column -t -s $$'\t'
status: ## Show the current status of the development environment
./scripts/isle/status.sh
traefik-http: ## Switch to HTTP mode (default)
./scripts/isle/traefik-http.sh
traefik-https-mkcert: traefik-certs ## Switch to HTTPS mode using mkcert self-signed certificates
./scripts/isle/traefik-https-mkcert.sh
traefik-https-letsencrypt: ## Switch to HTTPS mode using Let's Encrypt ACME
./scripts/isle/traefik-https-letsencrypt.sh
traefik-certs: ## Generate mkcert certificates
./scripts/isle/generate-certs.sh
pull:
docker compose pull --ignore-buildable --ignore-pull-failures
build: pull ## Build the drupal container
./scripts/isle/build.sh
init: ## Get the host machine configured to run ISLE
./scripts/isle/init.sh
up: ## Start docker compose project with smart port allocation
./scripts/isle/up.sh
up-%: ## Start a specific service (e.g., make up-drupal)
docker compose up $* -d
down: ## Stop/remove the docker compose project's containers and network.
docker compose down
down-%: ## Stop/remove a specific service (e.g., make down-traefik)
docker compose down $*
logs-%: ## Look at logs for a specific service (e.g., make logs-drupal)
docker compose logs $* --tail 20 -f
clean: ## Delete all stateful data.
./scripts/isle/clean.sh
ping: ## Ensure site is available.
./scripts/isle/ping.sh
demo-objects: ## Add demo objects from https://github.com/Islandora-Devops/islandora_demo_objects
./scripts/isle/demo-objects.sh
overwrite-starter-site: ## Keep site template's drupal install in sync with islandora-starter-site
./scripts/isle/overwrite-starter-site.sh
create-starter-site-pr: ## Create a PR for islandora-starter-site updates
./scripts/isle/create-pr.sh
update-lehigh-guest-networks: ## Fetch Lehigh Guest CIDRs and update Drupal and Traefik allowlists
./scripts/maintenance/update-lehigh-guest-networks.php
update-lehigh-guest-networks-dry-run: ## Show fetched Lehigh Guest CIDRs without changing files
./scripts/maintenance/update-lehigh-guest-networks.php --dry-run
sequelace:
./scripts/isle/sequelace.sh
update-captcha-protect:
./scripts/maintenance/update-captcha.sh