PM2 is an extremely powerful tool. No matter what stage of development we are in, PM2 always has something to offer.
In this phase of software development, the deployment is where PM2 really shines. Through a JSON configuration file, PM2 will manage a cluster of applications so that we can easily deploy, redeploy, and manage applications on remote servers.
PM2 calls a group of applications ecosystem. Every ecosystem is described by a JSON file, and the easiest way to generate it is executing the following command:
This should output something similar to the following code:
[PM2] Spawning PM2 daemon [PM2] PM2 Successfully daemonized File /path/to/your/app/ecosystem.json generated
The content of the ...