ecosystem.conf
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys can anyone show me why this code does not work please, I am setting up a Turtlecoin node it has 2 ports to open plus the miner and wallet
I choose pm2 to run it with this code in ecosystem.conf it has to open two ports P2P PORT : "11897" and for rpc : 11898 which opens rpc port 8070 then run ./TurtleCoin-Service exit and save it then launches ;=> The api has been launched on http://127.0.0.1:8070.
Type exit to save and shutdown. but cant get PM2 to run this code any help would be appreciated
module.exports = {
apps : [
{
name: "TurtleCoin",
script: "/home/node1/turtlecoin/build/src/./TurtleCoind --enable-cors="*" --rpc-bind-ip=0.0.0.0 --rpc-bind-port=11898 --rpc-bind-ip 0.0.0.0 --enable-blockexplorer --fee-amount 10 --fee-address TRTL9BXgTesu1qvz3vGJYxhY68yH8H79pKHpy8c2SWmhqAmJfBkaCyGjLCDFM7FPhizNrU26tPPQkJ6HLy68NPQde6cDc8YqNCT",
enableCors: true,
enableBlockExplorer: true,
p2pBindIp: "0.0.0.0",
p2pBindPort: 11898,
feeAddress: true,
feeAmount: 0.10,
watch: true,
env: {
PORT : "3000",
NODE_ENV : "development"
},
env_production: {
PORT : "11897",
PORT : "11898",
NODE_ENV : "production"
},
name : "walletapi",
script : "/home/node1/TurtleCoin/build/src/./TurtleCoin-Service --rpc-password XXXXXXXXX --enable-cors --scan-coinbase-transactions",
args : "save",
args : "exit"
},
name : "miner",
script : "/home/node1/TurtleCoin/build/src/./miner --threads 4 --address TRTL9BXgTesu1qvz3vGJYxhY68yH8H79pKHpy8c2SWmhqAmJfBkaCyGjLCDFM7FPhizNrU26tPPQkJ6HLy68NPQde6cDc8YqNCT "
},
]
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided ecosystem.conf and PM2's ecosystem configuration entry point, then reproduce the launch using the TurtleCoind, TurtleCoin-Service, and miner commands shown. Compare the configuration structure and process definitions with PM2's documented format; done means the intended processes start and expose the requested ports without configuration errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- devops, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100