node-explorer icon indicating copy to clipboard operation
node-explorer copied to clipboard

Git submodules via http not ssh and server base url not localhost

Open mshearer0 opened this issue 3 years ago • 0 comments

  1. After cloning the repo and running 'git submodule init' i had to edit the .git/config file to retrieve the server submodule via http rather than ssh:

[submodule "server"] active = true url = [email protected]:corda/node-server.git

updated to:

   url = https://github.com/corda/node-server

to avoid a public key error. I could then run git submodule update.

  1. On gcp i had to substitute localhost with the ip of the compute engine in /src/store/Actions.js:

export const SERVER_BASE_URL = "http://your_ip_address:8580";

to avoid a 'Network Error' and a failure to initialise the node explorer.

mshearer0 avatar Jan 08 '22 16:01 mshearer0