-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
165 lines (122 loc) · 2.4 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
SHELL=bash
.ONESHELL: # ensures each Make recipe is ran as one single shell session, rather than one new shell per line
.SHELLFLAGS := -eu -o pipefail -c # fail on errors
args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
%:
@:
.PHONY: init-secrets
init-secrets:
@./scripts/init_secrets.sh
.PHONY: up
up: init-secrets
@./scripts/up.sh
.PHONY: migrate
migrate:
@./scripts/migrate.sh
.PHONY: bootstrap
bootstrap: migrate
@./scripts/bootstrap.sh
.PHONY: seed
seed:
@./scripts/seed.sh
.PHONY: down
down:
@./scripts/down.sh
.PHONY: clear-db
clear-db:
@./scripts/clear-db.sh
.PHONY: reset-db
reset-db: clear-db migrate
.PHONY: build-frontend
build-frontend:
@./scripts/build-frontend.sh
.PHONY: prepare-frontend
prepare-frontend:
@./scripts/prepare-frontend.sh
.PHONY: serve-app
serve-app:
@./scripts/serve-app.sh
.PHONY: serve-native
serve-native:
@./scripts/serve-native.sh
.PHONY: serve-pwa
serve-pwa:
@./scripts/serve-pwa.sh
.PHONY: serve-admin
serve-authnz-frontend:
@./scripts/serve-authnz-frontend.sh
.PHONY: serve-storybook
serve-storybook:
@./scripts/serve-storybook.sh
.PHONY: serve
serve:
@./scripts/serve.sh
.PHONY: serve-backend
serve-backend:
@./scripts/serve-backend.sh
.PHONY: watch
watch:
@./scripts/watch.sh
.PHONY: package
package:
@./scripts/package.sh
.PHONY: docs
docs:
@./scripts/render-dot-graphs.sh
.PHONY: install-all
install-all:
@./scripts/install-all.sh
.PHONY: restart-all
restart-all:
@./scripts/restart.sh
.PHONY: restart-proxy
restart-proxy:
@./scripts/restart.sh proxy
.PHONY: restart-oidc
restart-oidc:
@./scripts/restart.sh oidc
.PHONY: restart-redis
restart-redis:
@./scripts/restart.sh redis
.PHONY: restart-hydra
restart-hydra:
@./scripts/restart.sh hydra
.PHONY: restart-db
restart-db:
@./scripts/restart.sh db
.PHONY: logs-all
logs-all:
@./scripts/logs.sh
.PHONY: logs-proxy
logs-proxy:
@./scripts/logs.sh proxy
.PHONY: logs-oidc
logs-oidc:
@./scripts/logs.sh oidc
.PHONY: logs-redis
logs-redis:
@./scripts/logs.sh redis
.PHONY: logs-hydra
logs-hydra:
@./scripts/logs.sh hydra
.PHONY: logs-db
logs-db:
@./scripts/logs.sh db
.PHONY: spawn
spawn: down up _sleep bootstrap build
.PHONY: tunnels
tunnels:
@./scripts/tunnels.sh
.PHONY: proxy-local
proxy-local:
@./scripts/proxy-local.sh
_sleep:
sleep 20
.PHONY: respawn
respawn: down spawn
.PHONY: gen
gen:
@./scripts/gen.sh
.PHONY: images
images:
@./scripts/build-images.sh