From e7f0ac860f541006818f010d9dacd8a94c26f2e1 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 9 Jul 2020 15:43:45 -0400 Subject: Don't use --production for standalone install --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5508d53..dc239de 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Running as a standalone process this way is useful if you can use git-ssb and ss ```sh git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo cd patchfoo -ssb-npm install --production --branch %azW4q2GOnr52FVPK7pQk06VVMRuUJdUHXKN1PzhB9d0=.sha256 +ssb-npm install --branch %azW4q2GOnr52FVPK7pQk06VVMRuUJdUHXKN1PzhB9d0=.sha256 npm start ``` @@ -90,6 +90,8 @@ npm start This is the traditional way to install and run patchfoo. +Using `--production` skips installing `ssb-client`, which is not needed for plugin usage. If you want to also be able to run patchfoo as a standalone process, omit the `--production` option in the commands below. + ```sh cd ~/.ssb/node_modules git clone ssb://%YAg1hicat+2GELjE2QJzDwlAWcx0ML+1sXEdsWwvdt8=.sha256 patchfoo -- cgit v1.2.3