A tiny Shell script to manage and keep your any nextjs application on any vps server online 24/7 by using [pm2] (https://pm2.keymetrics.io/).
You can easily manage and keep your any nextjs application on any vps server online 24/7 by using the script.
- Place the file into your project
- Run the command from your terminal.
sh deploy.sh- Voila! Your system is live now.