network-api/public/install.sh

15 lines
475 B
Bash
Raw Permalink Normal View History

#!/bin/sh
2024-09-05 08:41:12 +00:00
rustc --version || curl https://sh.rustup.rs -sSf | sh
NEXUS_HOME=$HOME/.nexus
if [ -d "$NEXUS_HOME" ]; then
echo "$NEXUS_HOME exists. Updating.";
(cd $NEXUS_HOME && git pull)
else
git clone git@github.com:nexus-xyz/network-cli --branch @collinjackson/proving $NEXUS_HOME
fi
2024-09-05 08:44:27 +00:00
# Note: Hostname will default to `orchestrator.nexus.xyz` in the public beta release.
2024-09-05 08:41:12 +00:00
(cd $NEXUS_HOME/clients/cli && cargo run --release --bin prover -- dev.orchestrator.nexus.xyz)