bootstrap `ssb-npm`, `ssb-npm-registry`, and `git-ssb`

you will need a working `scuttlebot` installation first.

# follow cel
sbot publish --type contact --contact "@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519" --following
# follow Cole Albon
sbot publish --type contact --contact "@Z92XppKO80lTVG2Vg4UNwSvrr8XA0XKpMp6PVICUNIU=.ed25519" --following
sbot plugins.install ssb-ooo

change ~/.ssb/config to include

{
  "blobs": {
    "max": 30000000
  }
}

restart sbot and run

sbot gossip.connect ssb.celehner.com:8008:@5XaVcAJ5DklwuuIkjGz4lwm2rOnMHHovhNg7BFFnyJ8=.ed25519
mkdir -p ~/.ssb/node_modules
cd ~/.ssb/node_modules
curl -s 'http://localhost:8989/blobs/get/&U7z22fE8SpMiwZMQtUdDvbRUQ9NHTAXdosjzcJD3j/I=.sha256' | tar xz
mv package ssb-npm-registry
sbot plugins.enable ssb-npm-registry

restart sbot again and run

mkdir -p /tmp/ssb-npm-registry-1.10.2 && cd /tmp/ssb-npm-registry-1.10.2 &&
wget -q 'http://localhost:8989/blobs/get/&U7z22fE8SpMiwZMQtUdDvbRUQ9NHTAXdosjzcJD3j/I=.sha256' -O package.tgz &&
echo '53bcf6d9f13c4a9322c19310b54743bdb45443d3474c05dda2c8f37090f78ff2  package.tgz' | sha256sum -c &&
tar xzf package.tgz &&
./package/bootstrap/bin.js --ws-url http://localhost:8989 \
  --branch %1WiEpn3ymmfO4n7k5Q7V3mIQUO4+v2nlFomxYZhPYyY=.sha256 \
  --branch %+GtKJu3CCEQlDzGmJbZaGP3yrJCEIvUbvBq3BpuoRmE=.sha256 \
  -- install -g ssb-npm@1.7.1 git-ssb@2.6.1

xj9/notes/git-ssb (last edited 2018-11-24 02:12:16 by xj9)