Merge pull request #204 from cubedro/master

Merge from master
This commit is contained in:
Marian OANCΞA 2015-06-25 02:01:50 +03:00
commit 5b8eb1bb6f
5 changed files with 29 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
.DS_Store
app.json
*/**/.DS_Store
node_modules
npm-debug.log

View File

@ -37,7 +37,7 @@ Configure the app modifying [processes.json](/eth-net-intelligence-api/blob/mast
"INSTANCE_NAME" : "", // whatever you wish to name your node
"CONTACT_DETAILS" : "", // add your contact details here if you wish (email/skype)
"WS_SERVER" : "wss://stats.ethdev.com", // path to eth-netstats WebSockets api server
"WS_SECRET" : "", // WebSockets api server secret used for login
"WS_SECRET" : "see http://forum.ethereum.org/discussion/2112/how-to-add-yourself-to-the-stats-dashboard-its-not-automatic", // WebSockets api server secret used for login
}
```

View File

@ -17,7 +17,7 @@
"INSTANCE_NAME" : "",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "wss://stats.ethdev.com",
"WS_SECRET" : "eth-net-stats-has-a-secret",
"WS_SECRET" : "see http://forum.ethereum.org/discussion/2112/how-to-add-yourself-to-the-stats-dashboard-its-not-automatic",
}
}
]
]

23
app.json.example Normal file
View File

@ -0,0 +1,23 @@
[
{
"name" : "node-app",
"script" : "app.js",
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"merge_logs" : false,
"watch" : false,
"max_restarts" : 10,
"exec_interpreter" : "node",
"exec_mode" : "fork_mode",
"env":
{
"NODE_ENV" : "production",
"RPC_HOST" : "localhost",
"RPC_PORT" : "8545",
"LISTENING_PORT" : "30303",
"INSTANCE_NAME" : "",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "wss://stats.ethdev.com",
"WS_SECRET" : "see http://forum.ethereum.org/discussion/2112/how-to-add-yourself-to-the-stats-dashboard-its-not-automatic",
}
}
]

View File

@ -36,7 +36,7 @@
"INSTANCE_NAME" : "",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "wss://stats.ethdev.com",
"WS_SECRET" : "eth-net-stats-has-a-secret",
"WS_SECRET" : "see http://forum.ethereum.org/discussion/2112/how-to-add-yourself-to-the-stats-dashboard-its-not-automatic",
}
}
]
]