From 7f31aec5bfb669edc62740f2ca204c47737bf327 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 8 Aug 2019 13:12:24 -0700 Subject: doc: fix mistakes - add --branch option needed for ssb-client - encode HTML entities - use enable command instead of install --- doc/install-guide.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'doc/install-guide.html') diff --git a/doc/install-guide.html b/doc/install-guide.html index 4856930..f63adad 100644 --- a/doc/install-guide.html +++ b/doc/install-guide.html @@ -11,13 +11,13 @@ body {

Installing ssb-npm + git-ssb + patchfoo

-

cel 2019-02-25

+

cel 2019-02-25; updated 2019-08-08

Set up npm

If you haven't already done so, set a prefix for npm and add its bin directory to your $PATH:

-echo prefix=$HOME/.local >> ~/.npmrc
-echo PATH=\$PATH:$HOME/.local/bin >> ~/.profile
+echo prefix=$HOME/.local >> ~/.npmrc
+echo PATH=\$PATH:$HOME/.local/bin >> ~/.profile
 PATH=$PATH:$HOME/.local/bin
 
@@ -34,8 +34,8 @@ PATH=$PATH:$HOME/.local/bin

Install ssb-npm

-mkdir -p /tmp/ssb-npm-registry-2.0.0 && cd /tmp/ssb-npm-registry-2.0.0 &&
-curl -s 'http://localhost:8989/blobs/get/&E+tZfD6eodncvEddM3QAfsmzTJ003jlPGsqFN5TO7sQ=.sha256' | tar xz &&
+mkdir -p /tmp/ssb-npm-registry-2.0.0 && cd /tmp/ssb-npm-registry-2.0.0 &&
+curl -s 'http://localhost:8989/blobs/get/&E+tZfD6eodncvEddM3QAfsmzTJ003jlPGsqFN5TO7sQ=.sha256' | tar xz &&
 ./package/bootstrap/bin.js --ws-url http://localhost:8989 \
   --branch %+bQCoFxCpd6SyFzjeKZOIbOtHW575oSq/AoSYMGGR3k=.sha256 \
   -- install -g ssb-npm@2.0.0
@@ -53,7 +53,8 @@ ssb-npm install -g git-ssb@2.6.1 \
 
 git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo
 cd patchfoo
-ssb-npm install --branch %SizoOItHdaFQtoDkpX/r4KdOmum7BKEbnE9Rx/UWRAQ=.sha256
+ssb-npm install --branch %SizoOItHdaFQtoDkpX/r4KdOmum7BKEbnE9Rx/UWRAQ=.sha256 \
+  --branch %o3t1vSU0S/cOR1HM+H5TTKTDaZbTnv+SDLVji3l0r0A=.sha256
 npm start
 
@@ -63,8 +64,9 @@ mkdir ~/.ssb/node_modules cd ~/.ssb/node_modules git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo cd patchfoo -ssb-npm install --branch %SizoOItHdaFQtoDkpX/r4KdOmum7BKEbnE9Rx/UWRAQ=.sha256 -sbot plugins.install patchfoo +ssb-npm install --branch %SizoOItHdaFQtoDkpX/r4KdOmum7BKEbnE9Rx/UWRAQ=.sha256 \ + --branch %o3t1vSU0S/cOR1HM+H5TTKTDaZbTnv+SDLVji3l0r0A=.sha256 +sbot plugins.enable patchfoo

Restart ssb-server or Patchwork.

Visit patchfoo at http://localhost:8027/.

-- cgit v1.2.3