diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-08-08 13:12:24 -0700 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-08-08 13:14:19 -0700 |
commit | 7f31aec5bfb669edc62740f2ca204c47737bf327 (patch) | |
tree | 5759cb48dfa749133e371a635ef50d942459b8a5 /doc | |
parent | 8899ea8bcb8d84bff2623a4e1aacfc83a224bef6 (diff) | |
download | patchfoo-7f31aec5bfb669edc62740f2ca204c47737bf327.tar.gz patchfoo-7f31aec5bfb669edc62740f2ca204c47737bf327.zip |
doc: fix mistakes
- add --branch option needed for ssb-client
- encode HTML entities
- use enable command instead of install
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install-guide.html | 18 |
1 files changed, 10 insertions, 8 deletions
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 { </head> <body> <h2>Installing ssb-npm + git-ssb + patchfoo</h2> -<p>cel 2019-02-25</p> +<p>cel 2019-02-25; updated 2019-08-08</p> <h3>Set up npm</h3> <p>If you haven't already done so, set a prefix for <code>npm</code> and add its bin directory to your <code>$PATH</code>:</p> <pre> -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 </pre> @@ -34,8 +34,8 @@ PATH=$PATH:$HOME/.local/bin <h3>Install ssb-npm</h3> <pre> -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 \ <pre> 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 </pre> @@ -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 </pre> <p>Restart ssb-server or Patchwork.</p> <p>Visit patchfoo at <a href="http://localhost:8027/">http://localhost:8027/</a>.</p> |