From 08b4d0629754cae02a8bd85c753928a0a052b50f Mon Sep 17 00:00:00 2001 From: Zfathur345 <128204131+Zfathur345@users.noreply.github.com> Date: Thu, 5 Oct 2023 00:40:36 +0700 Subject: [PATCH] Create Triple.chain.squid --- Triple.chain.squid | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Triple.chain.squid 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 +