ahdinosaur / ssb-pub

easily host your own Secure ScuttleButt (SSB) pub in a docker container
http://butt.nz/
GNU Affero General Public License v3.0
158 stars 25 forks source link

Possibly useful documentation. #33

Open justinabrahms opened 4 years ago

justinabrahms commented 4 years ago

I got the k8s version of this setup tonight. Here are my notes. Maybe they'll help make good docs.

Setup a k8s version of the ./sbot file that you use for docker. Unfortunately vi vim or similar are missing from the image (which makes sense)

$ echo "#!/bin/bash" > sbot
$ echo "SSB_APPNAME=mm MM_SSB_HOST=127.0.0.1 sbot \$@" >> sbot

You can get your ID from here:

./sbot whoami

You can name yourself here:

./sbot publish --type about --about $MY_ID --name $MY_PUB_NAME

You can accept the invite of another pub (so they will push out the things you sync to them) like this:

./sbot invite.accept $OTHER_PUB_INVITE_HERE

You can follow the other pub like this:

./sbot publish --type contact --contact $OTHER_PUB_ID --following

Generate an invite

./sbot invite.create 1

That's what I did to get my system running, after editing the config as mentioned in the README.