forked from CUK-LikeLion-Common/Evaluation-Lecture-team06
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
38 lines (28 loc) · 768 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
NAME = UnderTheC
all : $(NAME)
$(NAME) :
docker compose up --build -d
test :
docker compose -f ./build-test/docker-compose.yml up -d
start :
docker start mariadb
docker start spring
docker start react
stop :
docker stop spring
docker stop mariadb
docker stop react
restart: stop start
clean :
docker compose down --remove-orphans --rmi all --volumes
cd backend-spring && ./gradlew clean
tclean :
docker compose -f ./build-test/docker-compose.yml down --remove-orphans --rmi all --volumes
cd backend-spring && ./gradlew clean
rm -rf build-test/data
fclean : clean
docker network prune --force
docker volume prune --force
docker system prune --all --force --volumes
rm -rf db-mariadb/data
re : fclean all