From cdc5a1daf924a36be8990856bdd53689c46c02e2 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 3 Apr 2019 15:10:03 +0200 Subject: [PATCH 1/3] change brizo address --- client/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/config.ts b/client/src/config.ts index 5c6e5ca..a3447fe 100644 --- a/client/src/config.ts +++ b/client/src/config.ts @@ -19,7 +19,7 @@ export const aquariusPort = 443 export const brizoScheme = 'https' export const brizoHost = 'nginx-brizo.dev-ocean.com' export const brizoPort = 443 -export const brizoAddress = '0x413c9ba0a05b8a600899b41b0c62dd661e689354' +export const brizoAddress = '0x376817c638d2a04f475a73af37f7b51a2862d567' export const parityScheme = 'https' export const parityHost = 'nile.dev-ocean.com' From e29b5ff1b68b0ef5dd71bd54c63f4cb6232e0a88 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 3 Apr 2019 16:11:27 +0200 Subject: [PATCH 2/3] clarify client & server --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e2edf09..e9c2bde 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,12 @@ If you're a developer and want to contribute to, or want to utilize this marketp ## Get Started -To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to Ocean's Nile test network remotely. +To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to [Ocean's Nile test network](https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet) remotely. + +This repo contains a client and a server, both written in TypeScript: + +- **client**: React app setup with [squid-js](https://github.com/oceanprotocol/squid-js), bootstrapped with [Create React App](https://github.com/facebook/create-react-app) +- **server**: Node.js app, utilizing [Express](https://expressjs.com). The server provides various microservices, like remote file checking. To spin up both, the client and the server in a watch mode for local development, execute: @@ -58,7 +63,7 @@ Modify `./client/src/config.ts` to use those local connections. ## Production -To create a production build of both, the client and the server: +To create a production build of both, the client and the server, run from the root of the project: ```bash npm run build @@ -72,12 +77,11 @@ Builds the client for production to the `./client/build` folder, and the server npm test ``` -Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. +Launches the test runner in the interactive watch mode. ## Code Style -For linting and auto-formatting you can use: +For linting and auto-formatting you can use from the root of the project: ```bash # auto format all ts & css with eslint & stylelint From 066f446e87693eb0061275d82c4cb0bf80bcfdca Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 3 Apr 2019 19:07:17 +0200 Subject: [PATCH 3/3] add basic SEO --- client/public/index.html | 35 ++++++++++++++++++++++++++++++++++- client/public/share.png | Bin 0 -> 170764 bytes 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 client/public/share.png diff --git a/client/public/index.html b/client/public/index.html index 19d80a4..7299790 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -10,7 +10,40 @@ - Commons Marketplace + Commons + + + + + + + + + + + + + + +