commit
0902cb0738
@ -28,7 +28,7 @@ Configure the app modifying [processes.json](/eth-net-intelligence-api/blob/mast
|
|||||||
"NODE_ENV" : "production", // tell the client we're in production environment
|
"NODE_ENV" : "production", // tell the client we're in production environment
|
||||||
"RPC_HOST" : "localhost", // eth JSON-RPC host
|
"RPC_HOST" : "localhost", // eth JSON-RPC host
|
||||||
"RPC_PORT" : "8080", // eth JSON-RPC port
|
"RPC_PORT" : "8080", // eth JSON-RPC port
|
||||||
"ETH_IMPLEMENTATION" : "Cpp", // eth implementation ("Cpp" or "Go")
|
"ETH_IMPLEMENTATION" : "cpp", // eth implementation: "cpp" or "go"
|
||||||
"WS_SERVER" : "", // path to eth-netstats WebSockets api server
|
"WS_SERVER" : "", // path to eth-netstats WebSockets api server
|
||||||
"WS_SECRET" : "", // WebSockets api server secret used for login
|
"WS_SECRET" : "", // WebSockets api server secret used for login
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ if(process.env.NODE_ENV === 'production')
|
|||||||
{
|
{
|
||||||
INSTANCE_NAME = shelljs.exec('ec2metadata --instance-id', {silent: true}).output;
|
INSTANCE_NAME = shelljs.exec('ec2metadata --instance-id', {silent: true}).output;
|
||||||
|
|
||||||
if(ETH_IMPLEMENTATION === 'Go')
|
if(ETH_IMPLEMENTATION === 'go')
|
||||||
{
|
{
|
||||||
ETH_VERSION = shelljs.exec('ethereum -version', {silent: true}).output;
|
ETH_VERSION = shelljs.exec('ethereum -version', {silent: true}).output;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"NODE_ENV" : "production",
|
"NODE_ENV" : "production",
|
||||||
"RPC_HOST" : "localhost",
|
"RPC_HOST" : "localhost",
|
||||||
"RPC_PORT" : "8080",
|
"RPC_PORT" : "8080",
|
||||||
"ETH_IMPLEMENTATION" : "Go",
|
"ETH_IMPLEMENTATION" : "go",
|
||||||
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
|
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
|
||||||
"WS_SECRET" : "eth-net-stats-has-a-secret",
|
"WS_SECRET" : "eth-net-stats-has-a-secret",
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"NODE_ENV" : "production",
|
"NODE_ENV" : "production",
|
||||||
"RPC_HOST" : "localhost",
|
"RPC_HOST" : "localhost",
|
||||||
"RPC_PORT" : "8080",
|
"RPC_PORT" : "8080",
|
||||||
"ETH_IMPLEMENTATION" : "Cpp",
|
"ETH_IMPLEMENTATION" : "cpp",
|
||||||
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
|
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
|
||||||
"WS_SECRET" : "eth-net-stats-has-a-secret",
|
"WS_SECRET" : "eth-net-stats-has-a-secret",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user