Managing your server on production using PM2.

Pubblicato il: 26 giugno 2024
sul canale di: Tweaked Dev
400
17

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  


In questa pagina del sito puoi guardare il video online Managing your server on production using PM2. della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tweaked Dev 26 giugno 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 400 volte e gli è piaciuto 17 spettatori. Buona visione!