From 6d417e205d017064e8f1905778ff54237e2d5802 Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Wed, 5 Dec 2018 18:53:28 +0100 Subject: [PATCH] Even more edits to new react app tutorial --- content/tutorials/react-publish-data-set.md | 4 ++-- content/tutorials/react-setup.md | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/content/tutorials/react-publish-data-set.md b/content/tutorials/react-publish-data-set.md index d6555fec..c24e1276 100644 --- a/content/tutorials/react-publish-data-set.md +++ b/content/tutorials/react-publish-data-set.md @@ -5,12 +5,12 @@ description: Tutorial to add data set publishing capabilities to a basic React a ## Requirements -This is continuation of the [React App Setup](/tutorials/react-setup) tutorial, so make sure you have all the steps running. +This is a continuation of the [React App Setup](/tutorials/react-setup) tutorial, so make sure you have all the steps running. ## Adding Publishing 1. Open `src/App.js` in your marketplace app from the [React App Setup](/tutorials/react-setup) tutorial. -2. First lets add asset that we want to publish. To do that we need to add the following code after `window.ethereum.enable()` line. +2. First let's add the asset that we want to publish. To do that we need to add the following code after `window.ethereum.enable()` line. ```javascript const asset = { diff --git a/content/tutorials/react-setup.md b/content/tutorials/react-setup.md index 81b458c2..2ec10a6a 100644 --- a/content/tutorials/react-setup.md +++ b/content/tutorials/react-setup.md @@ -9,8 +9,11 @@ This tutorial shows how you can build a basic [React](https://reactjs.org/) app - `nodejs` >= 10 is installed. You can check using `node -v` - `npm` >= 5.2 is installed. You can check using `npm -v` -- Running all the services started by `./start_ocean.sh --no-pleuston --local-pond-node` in [oceanprotocol/docker-images](https://github.com/oceanprotocol/docker-images) running with -- Using browser with [MetaMask](https://metamask.io/) and some Ether in your account (for the network you're connected to). See [the tutorial about getting Ether and Ocean Tokens for testnets](/tutorials/get-ether-and-ocean-tokens/). +- Do [the tutorial to Set Up Azure Storage](/tutorials/azure-for-brizo/). +- Git clone the [oceanprotocol/docker-images](https://github.com/oceanprotocol/docker-images) repository, then in that directory: + - Edit the `brizo.env` file and set all `AZURE_`... values. + - Run `./start_ocean.sh --no-pleuston --local-pond-node` in [oceanprotocol/docker-images](https://github.com/oceanprotocol/docker-images). This runs all services locally, including a local Parity Ethereum node. +- Use a browser with [MetaMask](https://metamask.io/) and some Ether in your account. See [the tutorial about getting Ether and Ocean Tokens for testnets](/tutorials/get-ether-and-ocean-tokens/). ## Tutorial Steps