generated from CS3219-AY2324S1/course-assessment-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
54 lines (37 loc) · 1.53 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
restart_matching_staging:
docker-compose -f docker-compose.staging.yml up matching --build -d
restart_question_staging:
docker-compose -f docker-compose.staging.yml up question --build -d
restart_collaboration_staging:
docker-compose -f docker-compose.staging.yml up collaboration --build -d
restart_user_staging:
docker-compose -f docker-compose.staging.yml up user --build -d
restart_client_staging:
docker-compose -f docker-compose.staging.yml up client --build -d
restart_staging:
docker-compose -f docker-compose.staging.yml down && \
docker-compose -f docker-compose.staging.yml up --build -d
up_matching_staging:
docker-compose -f docker-compose.staging.yml up matching -d
up_question_staging:
docker-compose -f docker-compose.staging.yml up question -d
up_collaboration_staging:
docker-compose -f docker-compose.staging.yml up collaboration -d
up_user_staging:
docker-compose -f docker-compose.staging.yml up user -d
up_client_staging:
docker-compose -f docker-compose.staging.yml up client -d
up_staging:
docker-compose -f docker-compose.staging.yml up -d
format_client:
cd ./frontend && yarn run format && cd ..
format_matching:
cd ./backend/matching-service && yarn run format && cd ../..
format_question:
cd ./backend/question-service && yarn run format && cd ../..
format_collaboration:
cd ./backend/collaboration-service && yarn run format && cd ../..
format_user:
cd ./backend/user-service && yarn run format && cd ../..
format_all:
$(MAKE) format_client format_matching format_question format_collaboration format_user