Comments (4)
Just create 3 json files like this
{
"NODE_ENV" : "production1",
"RPC_HOST" : "ip1",
"RPC_PORT" : "port1",
"LISTENING_PORT" : "lis_port1",
"INSTANCE_NAME" : "my_node1",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "ws://localhost:3000",
"WS_SECRET" : "ChangeWsSecret",
"VERBOSITY" : "2"
}
{
"NODE_ENV" : "production2",
"RPC_HOST" : "ip2",
"RPC_PORT" : "port2",
"LISTENING_PORT" : "lis_port2",
"INSTANCE_NAME" : "my_node2",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "ws://localhost:3000",
"WS_SECRET" : "ChangeWsSecret",
"VERBOSITY" : "2"
}
{
"NODE_ENV" : "production3",
"RPC_HOST" : "ip3",
"RPC_PORT" : "port3",
"LISTENING_PORT" : "lis_port3",
"INSTANCE_NAME" : "my_node3",
"CONTACT_DETAILS" : "",
"WS_SERVER" : "ws://localhost:3000",
"WS_SECRET" : "ChangeWsSecret",
"VERBOSITY" : "2"
}
from eth-net-intelligence-api.
where can I address these file in app? sorry I didn't understand the solution could you please explain?
from eth-net-intelligence-api.
copy app.json
to node1.json
, node2.json
, node3.json
, edit them as stated above and then start all of them
pm2 start node1.json
pm2 start node2.json
pm2 start node3.json
from eth-net-intelligence-api.
Thanks @5chdn, This solution work for me.
from eth-net-intelligence-api.
Related Issues (20)
- Socket error: Error: unexpected server response (403)
- node type / version is blank when web3.eth.coinbase isn't set HOT 1
- Gas limit and gas spending per block no longer displaying correctly
- The map is blank for the nodes HOT 1
- TypeError: results.reverse is not a function HOT 1
- program run Error HOT 2
- Unable to request access HOT 1
- Cannot find module 'chalk' HOT 1
- What is WS_SECRET HOT 11
- Using websocket instead of rpc
- Mark repo as not maintained
- what is // path to eth-netstats WebSockets api server ?
- `[eth] =✘= Web3 connection attempt #0 failed` HOT 2
- Change skype invite link to https://join.skype.com/hbWmzgjmJF1H
- how the eth-net-intelligence-api interaction with ethereum ,I want to anaylsis eth-net-intelligence-api,how it start
- I find that only use eth-netstats can also fetches information and show the page without using eth-net-intelligence-api,so who can tell me the function of eth-net-intelligence-api HOT 1
- The application don't read the process.env HOT 1
- Issue with Fresh Installation
- Need help with [npm install pm2 -g]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eth-net-intelligence-api.