commit
5b8eb1bb6f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
app.json
|
||||||
*/**/.DS_Store
|
*/**/.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
@ -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
|
"INSTANCE_NAME" : "", // whatever you wish to name your node
|
||||||
"CONTACT_DETAILS" : "", // add your contact details here if you wish (email/skype)
|
"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_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
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
4
app.json
4
app.json
@ -17,7 +17,7 @@
|
|||||||
"INSTANCE_NAME" : "",
|
"INSTANCE_NAME" : "",
|
||||||
"CONTACT_DETAILS" : "",
|
"CONTACT_DETAILS" : "",
|
||||||
"WS_SERVER" : "wss://stats.ethdev.com",
|
"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
23
app.json.example
Normal 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",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
@ -36,7 +36,7 @@
|
|||||||
"INSTANCE_NAME" : "",
|
"INSTANCE_NAME" : "",
|
||||||
"CONTACT_DETAILS" : "",
|
"CONTACT_DETAILS" : "",
|
||||||
"WS_SERVER" : "wss://stats.ethdev.com",
|
"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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user