-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·54 lines (37 loc) · 1.38 KB
/
setup.sh
File metadata and controls
executable file
·54 lines (37 loc) · 1.38 KB
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
# Make sure all submodules are on development branch
git submodule foreach git checkout development
# Install bundle dependencies
echo "Entering Admin API"
cd admin/service && cp .env.sample .env.local && npm ci
echo "Entering Client API"
cd ../../client/service && cp .env.sample .env.local && npm ci
echo "Entering User API"
cd ../../user/service && cp .env.sample .env.local && npm ci
echo "Entering Messaging API"
cd ../../messaging/service && cp .env.sample .env.local && npm ci
echo "Entering Notifications API"
cd ../../notifications/service && cp .env.sample .env.local && npm ci
echo "Entering Payments API"
cd ../../payments/service && cp .env.sample .env.local && npm ci
echo "Entering Provider API"
cd ../../provider/service && cp .env.sample .env.local && npm ci
echo "Entering Video API"
cd ../../video/service && cp .env.sample .env.local && npm ci
echo "Entering Email API"
cd ../../email/service && cp .env.sample .env.local && npm ci
echo "Entering API Gateway"
cd ../../gateway && cp .env.sample .env.local && npm ci
echo "Entering Website UI"
cd ../website && npm ci
echo "Entering Country Admin UI"
cd ../admin-country-ui && npm ci
echo "Entering Global Admin UI"
cd ../admin-global-ui && npm ci
echo "Entering Provider UI"
cd ../provider-ui && npm ci
echo "Entering Client UI"
cd ../client-ui && npm ci
git submodule init
git submodule update
cd ..
echo "Setup completed..."