diff --git a/.gitignore b/.gitignore index e7156bc..9acb73f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +app.json */**/.DS_Store node_modules npm-debug.log diff --git a/README.md b/README.md index 373568a..63169ef 100644 --- a/README.md +++ b/README.md @@ -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 } ``` diff --git a/app.json b/app.json index a9ca3e6..edd3eba 100644 --- a/app.json +++ b/app.json @@ -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", } } -] \ No newline at end of file +] diff --git a/app.json.example b/app.json.example new file mode 100644 index 0000000..edd3eba --- /dev/null +++ b/app.json.example @@ -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", + } + } +] diff --git a/processes-ec2.json b/processes-ec2.json index 3e1d1a1..414e343 100644 --- a/processes-ec2.json +++ b/processes-ec2.json @@ -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", } } -] \ No newline at end of file +]