This video covers how to use PM2 to manage your server on production. We take look at some of its features such as automatic restart and load balancing . #webdev #nodejs #pm2 #javascript
https://pm2.keymetrics.io/docs/usage/...
0:00 Intro
0:36 When to use PM2
0:52 What’s a daemon process
1:06 Explaining the application structure
2:40 Installing PM2
3:17 Starting the server using PM2
4:03 Logs command
4:48 List command
5:54 Monitor command
6:19 Stopping different processes
6:46 Kill a process
6:58 Setting up watch mode
8:48 Setting up dev workflow using concurrently package
10:57 No daemon flag explained
13:34 Configuring load balancing
15:31 Creating ecosystem config file
16:21 Different configs for prod and dev
21:44 Outro
💰 If you'd like to buy me a coffee, that would be wonderful, thanks! - https://www.buymeacoffee.com/gaurav.sen
► Blog: https://gauravsen.codes/blog
► Web development Mentorship - https://gauravsen.codes
Find me here👇🏼:
► / gaurav.sen_
► / gaurav_sen_
► / gauravs3n
On this page of the site you can watch the video online Managing your server on production using PM2. with a duration of hours minute second in good quality, which was uploaded by the user Tweaked Dev 26 June 2024, share the link with friends and acquaintances, this video has already been watched 400 times on youtube and it was liked by 17 viewers. Enjoy your viewing!