Merge pull request #11 from cubedro/develop

fixes
This commit is contained in:
Marian OANCΞA 2015-03-04 23:07:57 +02:00
commit 0902cb0738
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 "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
} }

View File

@ -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;
} }

View File

@ -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",
} }

View File

@ -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",
} }