-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
48 lines (32 loc) · 963 Bytes
/
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
install-tools:
bash scripts/download-tools.sh
check-tools:
bash scripts/check-tools.sh
run-local: check-tools
consul agent -dev #-node ghost-machine
commpose-up:
docker-compose up
commpose-start: commpose-up
open-ui:
xdg-open http://127.0.0.1:8500/ui >/dev/null || open http://127.0.0.1:8500/ui
load-data: add-data
init-data: add-data
add-data:
bash -x scripts/consul-init-data.sh
exercise1:
bash -x reading/exercise1/entry.sh
exercise2:
bash -x reading/exercise2/entry.sh
exercise3:
bash -x reading/exercise3/entry.sh
exercise4:
bash -x reading/exercise4/entry.sh
exercise5:
bash -x reading/exercise5/entry.sh
open-exercise3:
xdg-open http://127.0.0.1:3000 >/dev/null || open http://127.0.0.1:3000
open-exercise4:
xdg-open http://127.0.0.1:8080/greeting >/dev/null || open http://127.0.0.1:8080/greeting
open-exercise5:
( xdg-open http://127.0.0.1:8081/greeting >/dev/null ) \
|| ( open http://127.0.0.1:8081/greeting >/dev/null )