/ devnet / install.sh
install.sh
 1  # Codex Devnet - Install
 2  
 3  # Variables
 4  set -a
 5  BASE_SCRIPT="https://get.codex.storage/install.sh"
 6  SCRIPT_URL="https://get.codex.storage/devnet/install.sh"
 7  BASE_URL="https://pub-4d2c3e46112947d5a108098a4758ae59.r2.dev"
 8  BRANCH="${BRANCH:-master}"
 9  CIRDL="${CIRDL:-true}"
10  INSTALL_DIR="${INSTALL_DIR:-.}"
11  set +a
12  
13  # Help
14  if [[ $1 == *"help"* ]] ; then
15    curl -s "${BASE_SCRIPT}" | bash -s -- help
16    exit 0
17  fi
18  
19  # Install
20  curl -s "${BASE_SCRIPT}" | bash