1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

add macOS readme message (#1697)

* add readme message, update subgraph port

* update ip s add readme updates

* remove unwanted readme line

* update readme message

* fix aqua url

* Update README.md

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>

---------

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
Bogdan Fazakas 2023-02-13 13:43:18 +03:00 committed by GitHub
parent 956a0009c7
commit 6a4631d215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -128,6 +128,8 @@ npm run test:integration
npm run test:integration:cover
```
> Note: On macOS, changes to the `provider`, `metadataCache` and `subgraph` URLs are required, as their default `barge` IPs can not be accessed due to network constraints on macOS. Instead use `http://127.0.0.1` for each direct call to the mentioned services, but keep the internal `provider` URL (`http://172.15.0.4:8030`) hardcoded inside all DDO's `serviceEndpoint`, and when calling `nft.setMetadata()`.
## 🛳 Production
To create a production build, run from the root of the project:

View File

@ -31,9 +31,9 @@ export const configHelperNetworks: Config[] = [
...configHelperNetworksBase,
chainId: 8996,
network: 'development',
metadataCacheUri: 'http://172.15.0.5:5000',
providerUri: 'http://172.15.0.4:8030',
subgraphUri: 'https://172.15.0.15:9000'
metadataCacheUri: 'http://172.15.0.5:5000', // use http://127.0.0.1:5000/ if running on macOS
providerUri: 'http://172.15.0.4:8030', // use http://127.0.0.1:8030/ if running on macOS
subgraphUri: 'https://172.15.0.15:8000' // use http://127.0.0.1:9000/ if running on macOS
},
{
...configHelperNetworksBase,