-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (35 loc) · 684 Bytes
/
Copy pathMakefile
File metadata and controls
43 lines (35 loc) · 684 Bytes
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
NPM = @npm
DOCKER = @docker
COMPOSE = @docker-compose
DOCKERFILE_FE = $(realpath ./apps/fe)
DOCKERFILE_BE = $(realpath ./apps/be/external/deployments/docker)
#################################
# Application Territory
#################################
.PHONY: dev
dev:
${NPM} run dev
.PHONY: install
install:
${NPM} run install
.PHONY: worker
worker:
${NPM} run worker
.PHONY: scheduler
scheduler:
${NPM} run scheduler
.PHONY: build
build:
./app-build.sh
#################################
# Docker Territory
#################################
.PHONY: upb
upb:
./docker-build.sh
.PHONY: up
up:
${COMPOSE} up -d --remove-orphans --no-deps
.PHONY: down
down:
${COMPOSE} down