Skip to content

Commit afead0b

Browse files
committed
Create install
1 parent dfe1195 commit afead0b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Helper/install

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set -e
2+
3+
export DEBIAN_FRONTEND=noninteractive
4+
apt-get -y install gnupg1 rsync wget
5+
wget -qO - https://apt.stellar.org/SDF.asc | apt-key add -
6+
echo "deb https://apt.stellar.org focal stable" >/etc/apt/sources.list.d/SDF.list
7+
echo "deb https://apt.stellar.org focal unstable" >/etc/apt/sources.list.d/SDF-unstable.list
8+
apt-get update
9+
apt-get install -y stellar-core=${STELLAR_CORE_VERSION}
10+
apt-get install -y stellar-horizon=${HORIZON_VERSION}
11+
apt-get clean
12+
echo "\nDone installing stellar-core and horizon...\n"

0 commit comments

Comments
 (0)