Obtenir des Super Pouvoirs
Devenir un super héros est un processus assez simple.
<script src="https://asciinema.org/a/14.js" id="asciicast-14" async></script>
$ teztool create <name> --network mainnet --rpc-port 8732 --history-mode archive
# you can also pass arguments and flags to the tezos-node run command, like:
$ teztool create <name> --network mainnet --rpc-port 8732 --history-mode archive --extra-flags "--singleproccess"
# or just run this and teztool will ask for all input:
$ teztool create
$ teztool <name> start
sudo chown -R $USER:staff ~
$ teztool <name> snapshot import <file>
$ teztool <name> start
# Building a Node w/teztool
git clone https://gitlab.com/nomadic-labs/teztool.git
cd ./teztool
go build -o teztool *.go
mv teztool /usr/local/bin/teztool
# Past to .bash_profile
echo >> export > .bash_profile
#alias teztool='docker run -it --rm -v $PWD:/mnt/pwd --network host -e DIND_PWD=$PWD -v /var/run/docker.sock:/var/run/docker.sock registry.gitlab.com/nomadic-labs/teztool:latest'
#alias teztool-update='docker pull registry.gitlab.com/nomadic-labs/teztool:latest'
asciinema rec --title="Build a Tezos Rolling Storage Node in < 2 min" --yes
# Ain't no code for that yet, sorry
echo 'You got to trust me on this, I saved the world'