Pin your project's Gx dependency tree in IPFS Cluster.
Run your gx2cluster
command in your Gx'ed project and all your dependencies will be submitted to ipfs-cluster for pinning, correctly named.
Safest way is to build manually rewriting gx'ed deps:
go get -u -d https://github.com/hsanjuan/gx2cluster
cd $GOPATH/src/github.com/hsanjuan/gx2cluster
gx install --global
gx-go rw
go install
Submit to the local, default ipfs-cluster API endpoint (/ip4/localhost/tcp/9094
)
$ gx2cluster
Submit to your remote ipfs-cluster peer:
$ gx2cluster --peer <multiaddress>
Other options (-h
):
Usage of gx2cluster:
-peer string
multiaddress of the IPFS Cluster API (default "/ip4/127.0.0.1/tcp/9094")
-pnet string
pnet key
-pw string
basic auth pw
-ssl
enable ssl
-user string
basic auth username
Small note: If editing the README, please conform to the standard-readme specification.
MIT Hector Sanjuan