-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·32 lines (28 loc) · 885 Bytes
/
setup.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
#!/bin/bash
set -eux
# Launch Indy Besu pool
echo "### Launch Indy Besu pool ###"
if [ ! -d "indy-node" ]; then
git clone https://github.com/DSRCorporation/indy-node.git
fi
pushd indy-node
git checkout indy-besu
pushd indy-besu
bash ./network/scripts/run.sh
popd
popd
# Setup Libindy environment
echo "### Setup Libindy environment ###"
apt-get install libsodium-dev -y
apt-get install libzmq3-dev -y
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb -P bin/
dpkg -i bin/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
cp bin/libindy.so /usr/lib/libindy.so
# Setup Aries Framework environment
echo "### Setup Aries Framework environment"
if [ ! -d "aries-framework-javascript" ]; then
git clone https://github.com/DSRCorporation/aries-framework-javascript.git
fi
pushd aries-framework-javascript
git checkout indy-besu-demo
chmod -R 777 .