testnets icon indicating copy to clipboard operation
testnets copied to clipboard

Improvements to reference installation shell scripts

Open deniseyu opened this issue 1 year ago • 0 comments

just keeping track of some small improvements we can make to installation shell scripts!

  • set -ex at the top!
  • add apt update
  • see if there's a way to automatically 'Y' to the package installs
  • copy the Go binary and client binary into the system binary path, /usr/local/bin
  • more robust if [ -f "$FILE" ] checks before deleting directories - assume this will be rerun
  • run through shell check
  • use pushd and popd instead of cd
  • set GO_VERSION as a constant and template it into the Go install section
  • set optional constant for persistent peers

deniseyu avatar Apr 19 '23 21:04 deniseyu