aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-05-21 07:22:13 -0400
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-05-21 07:24:11 -0400
commitf70b5211476d5cd1789da03caa779297c9ce818a (patch)
treed6fad3d696fe04121abe3ce844c601a61624399d /README.md
parent2c9aed94d829091ae6cb400978eba1e5d72b9040 (diff)
downloadpatchfoo-f70b5211476d5cd1789da03caa779297c9ce818a.tar.gz
patchfoo-f70b5211476d5cd1789da03caa779297c9ce818a.zip
Update readme
- Note max blobs requirement - Mention ssb-private - Add missing registry argument
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 2aea4c7..a2cb0f6 100644
--- a/README.md
+++ b/README.md
@@ -27,10 +27,18 @@ SSB](http://git.scuttlebot.io/%25VaSj08AbdhIa4itK4z8Z91G80o2h5OhRLCEEO6MhAcU%3D.
Requirements:
-- [scuttlebot][]
+- [scuttlebot][] with adjusted max blobs config
- [ssb-npm-registry][]
- [git-ssb][]
+Scuttlebot's max blobs config must be adjusted to allow for the installation
+of patchfoo with `ssb-npm-registry` to complete, because of the size of native
+module dependencies. To do this, run sbot server with these options when you
+are going to do the install:
+`sbot server --blobs.max 30000000`
+Or put this in your `~/.ssb/config` to make the setting persist:
+`{"blobs":{"max":30000000}}`
+
```sh
git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo
cd patchfoo
@@ -44,19 +52,21 @@ Alternatively, install as an sbot plugin (advanced):
cd ~/.ssb/node_modules
git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo
cd patchfoo
-npm install
+npm install --registry=http://localhost:8043/
sbot plugins.enable patchfoo
# restart sbot
```
## Install extras
-To most effectively render things, patchfoo needs the `ssb-backlinks` scuttlebot
-plugin:
+To most effectively render things, patchfoo needs the `ssb-backlinks`
+and `ssb-private` scuttlebot plugins:
```sh
sbot plugins.install ssb-backlinks
sbot plugins.enable ssb-backlinks
+sbot plugins.install ssb-private
+sbot plugins.enable ssb-private
# restart sbot
```