-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2-Install.sh
executable file
·63 lines (51 loc) · 1.88 KB
/
2-Install.sh
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
55
56
57
58
59
60
61
62
#!/bin/bash
# ---------------------------------------------------------
# MultiversX API Deployer - Install Required Services
# ---------------------------------------------------------
# Load variables from configuration File
source config.cfg
# Import scripts for the different scripts
source scripts/0-common.sh
source scripts/1-server.sh
source scripts/2-observing-squad.sh
source scripts/3-es-indexer.sh
source scripts/4-xexchange.sh
source scripts/5-mx-api.sh
# ---------------------------------------------------------
# Install Observing Squad
# ---------------------------------------------------------
Log-Title "Install Observing Squad"
ObsSquad_Prepare_Environment
ObsSquad_Install
ObsSquad_Copy_Configuration
# ---------------------------------------------------------
# Install MultiversX ElasticSearch Indexer
# ---------------------------------------------------------
Log-Title "Install MultiversX Elastic Indexer"
EsIndexer_Prepare_Environment
EsIndexer_Copy_Configuration
EsIndexer_Build
EsIndexer_Create_Service
# ---------------------------------------------------------
# Install xExchange Service
# ---------------------------------------------------------
xExchange_Prepare_Environment
xExchange_Copy_Configuration
xExchange_Overwrite_Sll_configuration
xExchange_Build
xExchange_Create_Service
# ---------------------------------------------------------
# Install MultiversX API
# ---------------------------------------------------------
Log-Title "Install MultiversX API"
MxApi_Prepare_Environment
MxApi_Install_Dependencies
MxApi_Initialize
MxApi_Copy_Configuration
MxApi_Create_Service
# ---------------------------------------------------------
# Next instructions for the User
# ---------------------------------------------------------
Log-Title "All services installed successfully"
Log "Proceed with the next step to start all the services by running:"
Log " ./3-Start.sh"