-
-
Save jaybuidl/e9b9ad2f9a21b111ecf132bc291c27b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//install ipfs-cluster | |
cd $HOME | |
wget https://dist.ipfs.io/go-ipfs/v0.4.14-rc1/go-ipfs_v0.4.14-rc1_linux-amd64.tar.gz | |
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 https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz | |
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 github.com/ipfs/ipfs-cluster | |
cd $GOPATH/src/github.com/ipfs/ipfs-cluster | |
make install | |
//installing docker-compose | |
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(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 https://github.com/vasa-develop/ipfs-peer-config.git | |
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