From 61e7f865e05da3291d5c5d062eb885672c8fcb96 Mon Sep 17 00:00:00 2001 From: Jacob Heun Date: Mon, 30 Apr 2018 09:35:58 -0500 Subject: [PATCH 1/3] docs: Tutorial - How to customize the IPFS Repo * docs: add example to show how to customize ipfs repo * feat: allow repo options to be passed in the ipfs constructor * docs: update repo creation in custom repo example * docs: update custom repo example remove ability to add repoOptions in favor of just supplying a repo chore: remove outdated options * docs: fix incorrect description in custom repo example automatically stop the node in the custom repo example docs: update custom repo example * docs: clarify custom-repo docs chore: bump custom repo example ipfs-repo version * docs: add a step to have users check their local repo fix: resolve bugs in the custom s3 lock --- examples/README.md | 1 + examples/custom-ipfs-repo/README.md | 32 +++++++ examples/custom-ipfs-repo/custom-lock.js | 99 +++++++++++++++++++++ examples/custom-ipfs-repo/index.js | 107 +++++++++++++++++++++++ examples/custom-ipfs-repo/package.json | 16 ++++ 5 files changed, 255 insertions(+) create mode 100644 examples/custom-ipfs-repo/README.md create mode 100644 examples/custom-ipfs-repo/custom-lock.js create mode 100644 examples/custom-ipfs-repo/index.js create mode 100644 examples/custom-ipfs-repo/package.json diff --git a/examples/README.md b/examples/README.md index cbab050194..b4678c1fa2 100644 --- a/examples/README.md +++ b/examples/README.md @@ -21,6 +21,7 @@ Let us know if you find any issue or if you want to contribute and add a new tut - [js-ipfs in the browser with a `