Skip to content
Snippets Groups Projects

Rpereyra2022

1 unresolved thread
Closed Roberto Pereyra Pigerl requested to merge rpereyra2022 into master
1 unresolved thread
5 files
+ 18729
4
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 14
3
@@ -84,7 +84,7 @@ function gethinstall
runasownerof ${NEW}/go-ethereum make all
HISBINDIR=$( echo ~bfa/bin )
install --verbose --owner=bfa --group=bfa --directory ${HISBINDIR}
install --verbose --owner=bfa --group=bfa --target-directory=${HISBINDIR} ${NEW}/go-ethereum/build/bin/{geth,bootnode,abigen,ethkey,puppeth,rlpdump,wnode,swarm,swarm-smoke}
install --verbose --owner=bfa --group=bfa --target-directory=${HISBINDIR} ${NEW}/go-ethereum/build/bin/{geth,bootnode,abigen,ethkey,puppeth,rlpdump}
}
function initgenesis
@@ -137,12 +137,14 @@ function userconfig
then
info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc"
echo "test -r ${BFAHOME}/bin/env && source ${BFAHOME}/bin/env" >> ~bfa/.bashrc
echo "cd ${BFAHOME}" >> ~bfa/.bashrc
fi
# cloning if not done already, or just update (pull)
if [ ! -d "${BFAHOME}" ]
then
# initial cloning
runasownerof ${BFAHOME%/*} git clone https://gitlab.bfa.ar/blockchain/nucleo.git $BFAHOME
git switch rpereyra2022
Please register or sign in to reply
else
runasownerof "${BFAHOME}" git pull
fi
@@ -200,16 +202,25 @@ function setupquestions
fi
fi
}
###apt-get install -y -qq git software-properties-common jq ncurses-bin curl
usersetup
setupquestions
apt-get install -y -qq git software-properties-common jq ncurses-bin curl
# Ubuntu necesita mas repos
grep -q Ubuntu /etc/issue && apt-add-repository multiverse
#
apt update
# development tools
aptinstall dirmngr apt-transport-https curl git curl build-essential sudo software-properties-common golang
aptinstall dirmngr apt-transport-https curl git curl build-essential sudo software-properties-common wget
# golang
wget https://golang.org/dl/go1.17.2.linux-amd64.tar.gz
rm -rf /usr/local/go
tar -C /usr/local -xzf go1.17.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
aptinstall jq libjson-perl libwww-perl libclass-accessor-perl
###geth version
userconfig
nodejsinstall
gethinstall
Loading