diff --git a/.travis.yml b/.travis.yml index d7c08d6..9b0e4a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,9 +28,9 @@ env: - REACT_APP_BRIZO_ADDRESS="0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0" # IPFS client & server config - - REACT_APP_IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com" - - REACT_APP_IPFS_NODE_URI="https://ipfs.oceanprotocol.com:443" - - IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com" + - REACT_APP_IPFS_GATEWAY_URI="https://ipfs.dev-ocean.com" + - REACT_APP_IPFS_NODE_URI="https://ipfs.dev-ocean.com:443" + - IPFS_GATEWAY_URI="https://ipfs.dev-ocean.com" # start Barge with these versions - BRIZO_VERSION=v0.4.4 diff --git a/README.md b/README.md index e7f11cd..2f33a0e 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ If you're a developer and want to contribute to, or want to utilize this marketp - [Client](#client) - [Server](#server) - [Feature Switches](#feature-switches) + - [More Settings](#more-settings) - [👩‍🔬 Testing](#-testing) - [Unit Tests](#unit-tests) - [End-to-End Integration Tests](#end-to-end-integration-tests) @@ -144,6 +145,14 @@ Beside configuring the network endpopints, the client allows to activate some fe | `REACT_APP_SHOW_REQUEST_TOKENS_BUTTON` | Shows a second button on the `/faucet` route to request Ocean Tokens in addition to Ether. Will only work in Ocean testnets. | | `REACT_APP_ALLOW_PRICING` | Activate pricing feature. Will show a price input during publish flow, and output prices for each data asset. | +#### More Settings + +| Env Variable | Example | Feature Description | +| --------------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------- | +| client: `REACT_APP_IPFS_GATEWAY_URI`
server: `IPFS_GATEWAY_URI` | `"https://ipfs.oceanprotocol.com"` | The IPFS gateway URI. | +| `REACT_APP_IPFS_NODE_URI` | `"https://ipfs.oceanprotocol.com:443"` | The IPFS node URI used to add files to IPFS. | +| `REACT_APP_REPORT_EMAIL` | `"jelly@mcjellyfish.com"` | The email used for the _report an asset_ feature. | + ## 👩‍🔬 Testing Test suite is setup with [Jest](https://jestjs.io) and [react-testing-library](https://github.com/kentcdodds/react-testing-library) for unit testing, and [Cypress](https://www.cypress.io) for integration testing. diff --git a/client/.env.local.example b/client/.env.local.example index 3f15d84..a349e66 100644 --- a/client/.env.local.example +++ b/client/.env.local.example @@ -59,5 +59,5 @@ REACT_APP_REPORT_EMAIL="test@example.com" # REACT_APP_SHOW_CHANNELS=true # REACT_APP_ALLOW_PRICING=true # REACT_APP_SHOW_REQUEST_TOKENS_BUTTON=true -# REACT_APP_IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com" -# REACT_APP_IPFS_NODE_URI="https://ipfs.oceanprotocol.com:443" +REACT_APP_IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com" +REACT_APP_IPFS_NODE_URI="https://ipfs.oceanprotocol.com:443"