Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//install ipfs-cluster
cd $HOME
tar xf go-ipfs_v0.4.14-rc1_linux-amd64.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
ipfs init
//installing go
cd $HOME/ && wget
tar -xvf go1.10.1.linux-amd64.tar.gz
mkdir $HOME/gopath
echo "export GOPATH=\$HOME/gopath" >> .bashrc
echo "export GOROOT=\$HOME/go" >> .bashrc
echo "export PATH=\$PATH:\$GOROOT/bin" >> .bashrc
source ~/.bashrc
//initialize ipfs-cluster
go get -u -d
cd $GOPATH/src/
make install
//installing docker-compose
sudo curl -L$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
// cloning git repo
cd $HOME
git clone
docker-compose -f docker-compose-ipfs-cluster-peers.yaml up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment