From d08d5f9e8d86f32c932844bf53fe0c389851c7ca Mon Sep 17 00:00:00 2001 From: Garret Alfert Date: Mon, 26 Aug 2019 18:00:17 +0200 Subject: [PATCH] Add IPFS Gateway config to readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dbe9782..c0061d5 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,10 @@ These are the basic steps to get up and running: #### 1. IPFS -Run a local IPFS deamon in offline mode. +Run a local IPFS deamon. * Make sure CORS headers are configured. See [IPFS](#ipfs) for more info. - * `ipfs daemon --offline` + * `ipfs daemon` #### 2. kredits-contracts @@ -108,6 +108,7 @@ Install IPFS with your favorite package manager and run ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["localhost:4200"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]' + ipfs config Addresses.Gateway /ip4/127.0.0.1/tcp/8080 ## Further Reading / Useful Links