Code Monkey home page Code Monkey logo

Comments (4)

5chdn avatar 5chdn commented on July 21, 2024

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.

madhuri03 avatar madhuri03 commented on July 21, 2024

where can I address these file in app? sorry I didn't understand the solution could you please explain?

from eth-net-intelligence-api.

5chdn avatar 5chdn commented on July 21, 2024

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.

madhuri03 avatar madhuri03 commented on July 21, 2024

Thanks @5chdn, This solution work for me.

from eth-net-intelligence-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.