Initial install script

This commit is contained in:
Collin Jackson 2024-09-05 01:41:12 -07:00
parent c8111a67b1
commit c3b8e14564

View File

@ -1,3 +1,12 @@
#!/bin/sh #!/bin/sh
echo "Hello world!" 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
(cd $NEXUS_HOME/clients/cli && cargo run --release --bin prover -- dev.orchestrator.nexus.xyz)