Browse Source

clarity about ssb-server

master
trav 5 months ago
parent
commit
2f44e49150
  1. 5
      README.md

5
README.md

@ -98,10 +98,9 @@ If that doesn't work you can [read more about installing node on arm v6 architec
`git clone https://git.laboratoryb.org/trav/ebb.git` ideally right in your home directory.
#### setup SSB
I can't remember how I got ssb-server to work, `sudo npm install -g ssb-server` throws `illegal instruction`. Something to do with a woknky version of Node. So my **extremely** hacky workaround is to unzip `ssb-server.zip` from the install directory into `/usr/local/lib/node_modules/`. This is v bad and needs to be fixed asap. [SSB-server](https://github.com/ssbc/ssb-server) is made available via the MIT licese.
`sudo npm install -g ssb-server` doesn't seem to work to install SSB, says `illegal instruction` :/ I got it to work once but now I can't remember what I did! So my **extremely** hacky workaround is to unzip `ssb-server.zip` from the install directory into `/usr/local/lib/node_modules/`. This is v bad and needs to be fixed asap. [SSB-server](https://github.com/ssbc/ssb-server) is made available via the MIT licese.
As long as the repo is at `/home/pi/ebb` these service files should be configured fine. Otherwise you gotta edit ssb.service and ebb-carousel.service and update the `WorkingDirectory` field.
As long as the EBB repo is at `/home/pi/ebb` the following service files should be configured fine. Otherwise you gotta edit ssb.service and ebb-carousel.service and update the `WorkingDirectory` field.
Assuming that's good, from inside the repo run `sudo cp install/ssb.service /etc/systemd/system/ssb.service` and then `sudo systemctl enable ssb.service` to get SSB running (and now it will run at boot). Then run `ssb-server whoami`. This should give you an output like `@b4zcVEqkDe8whateverYntH9d/Qd7jUzpEQ044=.ed25519`. Copy that line (it's your SSB key), we'll need it for the next step...

Loading…
Cancel
Save