Created
August 28, 2016 00:17
-
-
Save loadletter/7ca45d2b4d42b21b628d4e494c6c1f3d to your computer and use it in GitHub Desktop.
Update and rebuild IPFS from source
This file contains hidden or 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
#!/bin/sh | |
set -e | |
echo "IPFS local gateway must be running!!!" | |
go get -u -v github.com/whyrusleeping/gx && go get -u -v github.com/whyrusleeping/gx-go | |
go get -v -u -d github.com/ipfs/go-ipfs && cd $GOPATH/src/github.com/ipfs/go-ipfs | |
ln -sf $GOPATH/bin/gx $(grep gx_bin= Makefile | cut -d'=' -f2) | |
ln -sf $GOPATH/bin/gx-go $(grep gx-go_bin= Makefile | cut -d'=' -f2) | |
export IPFS_API=localhost:8080 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment