cel 2019-02-25; updated 2020-11-27
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 PATH=$PATH:$HOME/.local/bin
npm install -g 'http://localhost:8989/blobs/get/&qcphVNO9k28QT0oASdyjH41XEySuTxX3STooEj+olEE=.sha256'
ssb-npm install -g git-ssb@2.8.0 \ --branch %xlfr8klBuPNiHSXQ5uq2HkrIWudCz9Zzs9jiBoJBz3s=.sha256
git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo cd patchfoo ssb-npm install --production --branch %Et6Ij2bOS4SUzpimKTVUdMPnb8vjP8Lg2dObBJ/0oGE=.sha256 npm start
mkdir ~/.ssb/node_modules cd ~/.ssb/node_modules git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo cd patchfoo ssb-npm install --production --branch %Et6Ij2bOS4SUzpimKTVUdMPnb8vjP8Lg2dObBJ/0oGE=.sha256 node enable-plugin.js
Restart ssb-server or Patchwork.
Visit patchfoo at http://localhost:8027/.