This commit is contained in:
cubedro 2015-03-04 23:02:00 +02:00
parent cb12693434
commit 5a468ad6b8
4 changed files with 4 additions and 4 deletions

View File

@ -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
"RPC_HOST" : "localhost", // eth JSON-RPC host
"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_SECRET" : "", // WebSockets api server secret used for login
}

View File

@ -22,7 +22,7 @@ if(process.env.NODE_ENV === 'production')
{
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;
}

View File

@ -29,7 +29,7 @@
"NODE_ENV" : "production",
"RPC_HOST" : "localhost",
"RPC_PORT" : "8080",
"ETH_IMPLEMENTATION" : "Go",
"ETH_IMPLEMENTATION" : "go",
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
"WS_SECRET" : "eth-net-stats-has-a-secret",
}

View File

@ -29,7 +29,7 @@
"NODE_ENV" : "production",
"RPC_HOST" : "localhost",
"RPC_PORT" : "8080",
"ETH_IMPLEMENTATION" : "Cpp",
"ETH_IMPLEMENTATION" : "cpp",
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
"WS_SECRET" : "eth-net-stats-has-a-secret",
}