From afead0be065e10759b324f56054ecf9e16df2df0 Mon Sep 17 00:00:00 2001 From: ESKKO420 Date: Fri, 17 Jan 2025 07:55:33 +0100 Subject: [PATCH] Create install --- Helper/install | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Helper/install diff --git a/Helper/install b/Helper/install new file mode 100644 index 00000000..d75ad4ef --- /dev/null +++ b/Helper/install @@ -0,0 +1,12 @@ +set -e + +export DEBIAN_FRONTEND=noninteractive +apt-get -y install gnupg1 rsync wget +wget -qO - https://apt.stellar.org/SDF.asc | apt-key add - +echo "deb https://apt.stellar.org focal stable" >/etc/apt/sources.list.d/SDF.list +echo "deb https://apt.stellar.org focal unstable" >/etc/apt/sources.list.d/SDF-unstable.list +apt-get update +apt-get install -y stellar-core=${STELLAR_CORE_VERSION} +apt-get install -y stellar-horizon=${HORIZON_VERSION} +apt-get clean +echo "\nDone installing stellar-core and horizon...\n"