diff --git a/Triple.chain.squid b/Triple.chain.squid new file mode 100644 index 0000000..671aef3 --- /dev/null +++ b/Triple.chain.squid @@ -0,0 +1,24 @@ +sudo apt update +sudo apt install git + +sudo apt install nodejs + +sudo apt install npm +npm install -g npm@10.2.0 + +sudo apt-get install ca-certificates curl gnupg lsb-release -y +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg +echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null +sudo apt-get update +sudo apt-get install docker-ce docker-ce-cli containerd.io -y + +mkdir global-node-packages +npm config set prefix ~/global-node-packages +export PATH="${HOME}/global-node-packages/bin:$PATH" + +cd global-node-packages +npm install --global @subsquid/ + +sqd init zfathur345 -t https://github.com/subsquid-quests/single-chain-squid +cd zfathur345 +