-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
67 lines (52 loc) · 991 Bytes
/
install.sh
File metadata and controls
67 lines (52 loc) · 991 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
set -e
if [ "${PWD##*/}" == "scripts" ];
then
pushd ../
fi
echo "Creating wallet..."
mkdir -p wallet
echo "Installing scripts..."
pushd scripts
source ~/.nvm/nvm.sh
nvm use 15
yarn
if [[ "$*" == "--skip-binaries" ]]
then
disableBinaries=true
fi
if [ "$disableBinaries" != true ]; then
echo "Downloading binaries..."
pushd ../network
bash scripts/bootstrap.sh -s 2.3.0 1.4.9
fi
echo "Installing nerves..."
pushd ../nerves
nvm use 14
yarn
echo "Installing admin tools..."
pushd ../tools/admins
yarn
echo "Installing helper libraries..."
pushd ../../organs/helper
yarn
echo "Installing did libraries..."
pushd ../did
nvm use 15
yarn
echo "Installing job libraries..."
pushd ../job
yarn
echo "Installing keypair libraries..."
pushd ../keypair
yarn
echo "Installing identity libraries..."
pushd ../job
yarn
echo "Installing user libraries..."
pushd ../user
yarn
echo "Installing webapp..."
pushd ../../webapps/webapp-react
yarn
echo "Done."