Starting Dashboard
1. Install PM2
If you haven’t already installed PM2, you can do so globally using npm. Make sure you have Node.js and npm installed first.
2. Start Your Application with PM2
Navigate to your project directory and start your application:
Here, "
AlphaCtyl"
is an optional name you can give to your process for easier management.
3. Check the Status of Dashboard
You can check the status of your application with:
This command will show you a list of all processes managed by PM2 along with their status.
4. View Logs
To view the logs of your application:
To view logs for a specific application:
5. Save the PM2 Process List
To ensure that your processes are restored on system reboot, save the PM2 process list:
6. Set Up PM2 to Start on System Boot
Generate a startup script for PM2 to launch on system boot:
Last updated