mirror of
https://github.com/logos-storage/get.codex.storage.git
synced 2026-01-02 13:13:07 +00:00
19 lines
394 B
Bash
Executable File
19 lines
394 B
Bash
Executable File
# Codex Testnet - Run
|
|
|
|
# Variables
|
|
set -a
|
|
BASE_SCRIPT="https://get.codex.storage/run.sh"
|
|
SCRIPT_URL="https://get.codex.storage/testnet/run.sh"
|
|
CODEX_BINARY="${CODEX_BINARY:-./codex}"
|
|
BOOTSTRAP_NODE_FROM_URL="https://spr.codex.storage/testnet"
|
|
set +a
|
|
|
|
# Help
|
|
if [[ $1 == *"help"* ]] ; then
|
|
curl -s "${BASE_SCRIPT}" | bash -s -- help
|
|
exit 0
|
|
fi
|
|
|
|
# Run
|
|
curl -s "${BASE_SCRIPT}" | bash -s -- $@
|