Go to App Store in the left sidebar.
Search and install Node.js Version Manager and PM2Manager.
Open Setting in PM2Manager.
Add and manage your Node.js projects
- [Startup file] The startup file used to start the nodejs project, usually a js file
- [Startup file] If npm is filled here, it means to start the project with npm run start
- [Run Dir] The default run directory when running the project, usually the directory where the startup file is located
- [Balance] Cluster mode. Some projects may not support it. When the number of instances is greater than 1, the cluster mode is enabled.
- [Balance] After the cluster mode is enabled, load balancing will be performed automatically according to the number of instances