On the github page for IPTB, the install reads: go get github.com/whyrusleeping/iptb
On my Mac, I downloaded Go from from https://golang.org/doc/install where GOPATH is listed as GOPATH="/Users/me/go" and GOROOT is listed as GOROOT="/usr/local/go".
Running the install command, I’m left with a page full of unrecognized import path "gx/ipfs/...
If I type gx I see -bash: gx: command not found.
Running go get -u github.com/whyrusleeping/gx followed by export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Gets gx to run, but I’m still no go on the IPTB installer. Any idea how to get this up and running? I’d like to experiment with IPFS but feel better doing it in a small private network before I’m ready to fully dive in.
However, following this up with go install still lists a ton of messages like: ../../ipfs/go-ipfs/exchange/bitswap/message/message.go:11:2: cannot find package "gx/ipfs/QmNa31VPzC561NWwRsJLE7nGYZYuuD2QfpK2b1q9BK54J1/go-libp2p-net"
I removed everything in my GOPATH and started over to see what is needed to build this (since I apparently had some things installed that aren’t dragged in by the previously suggested steps). Here are the commands I used to build iptb starting from scratch.
I don’t know enough about gx to say why it’s apparently not pulling in all of the required dependencies for iptb, but pulling in the dependencies for go-ipfs seems to take care of it.
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
# get and install go-ipfs and dependencies
go get -u github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
gx install
# get and install iptb dependencies
go get -u github.com/whyrusleeping/iptb
cd $GOPATH/src/github.com/whyrusleeping/iptb
gx install
# finally install iptb
go install
I got up to go get -u github.com/whyrusleeping/iptb, then ran into: package gx/ipfs/QmdYwCmx8pZRkzdcd8MhmLJqYVoVTC1aGsy5Q4reMGLNLg/atomicfile: directory "/Users/me/go/src/gx/ipfs/QmdYwCmx8pZRkzdcd8MhmLJqYVoVTC1aGsy5Q4reMGLNLg/atomicfile" is not using a known version control system
Running git init in the github.com/whyrusleeping/iptb got me through to installing.
Hi, I have issues when using iptb. After installing iptb, I tried to start it using iptb init, however it returns with a message “Could not find plugin localipfs”. I tried with “iptb auto -type localipfs -count 5”, it asked for overwriting the testbeds and I said yes, but then it again returns with the same error.
How to use iptb to spin n nodes so I can test from my client?
How to get the list of plugins in use and how to use them in the iptb setup?
To use iptb for ipfs you have to use plugins. for this reason they have another repository on https://github.com/ipfs/iptb-plugins
but unfortunately it seems that it has some installation problems that are not fixed yet.