PM2 Process Manager | Running Node.js and Python apps in background

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • PM2 is process manager written in Node.js and available as NPM package. With PM2 you could easily run multiple applications either during development or in production. Let's try it in action and see how easy and reliable it is.
    🔥 My personal website with all courses that I teach
    stashchuk.com/
    SUBSCRIBE IN SOCIAL NETWORKS
    🎦 UA-cam / codingtutorials
    🙍 LinkedIn / bogdanstashchuk
    📪 Twitter / bogdanstashchuk
    Email 📧 in case you want to send me a notice
    bstashchuk@gmail.com

КОМЕНТАРІ • 77

  • @Bogdan_Stashchuk
    @Bogdan_Stashchuk  5 років тому +8

    Which topic should I cover next?

    • @vahid6418
      @vahid6418 5 років тому +1

      Coding Tutorials thanks for your awesome videos . I’m a math graduate and I’m trying to teach myself programming , Because I didn’t have much programming background I got stocked some time after I started . fortunately I found your JavaScript bible course on Udemy and things started to change now I’m enjoying from programming and I understand concepts clearly I’m almost finishing the course but I don’t know what should I do after it ! I would be so much grateful if you could tell me how to continue this journey . what skills should I learn ?! which languages Should I learn ? I don’t have a map to know what should I do to become a programmer?! I don’t really have much people around to guide me
      Thank you so much (I taught myself html and css already)

    • @Bogdan_Stashchuk
      @Bogdan_Stashchuk  5 років тому +1

      Thanks for starting your programming journey with me! I will publish soon a video where I will answer your question regarding how to find first job and what to do next after you have learned some basics like css, html, js.

    • @vahid6418
      @vahid6418 5 років тому

      Coding Tutorials I appreciate it 🙏

    • @mianmuhammad8223
      @mianmuhammad8223 5 років тому

      Your tutorials are awesome, would you like to cover relations in mongodb including virtual and path properties. Reference link for virtuals: mongoosejs.com/docs/guide.html#virtuals

    • @mianmuhammad8223
      @mianmuhammad8223 5 років тому

      For relational databases, I would request to you to make a tutorial on sequelize ORM: sequelize.org/. Thanks

  • @alphaguy4877
    @alphaguy4877 4 роки тому +7

    Your approach of taking TIME, and explaining a topic with MULTIPLE examples is AWESOME bogdan. Keep it up.

  • @oranbenavi1817
    @oranbenavi1817 3 роки тому +3

    this was one of the BEST tutorials i have ever seen, the quality of the video, the speed of the talking and coding, it was VERY helpful, thank you so much, this should have 1 M views

  • @julianmorguet2575
    @julianmorguet2575 2 роки тому

    You really made my day! I just couldn't get on with a project and thanks to you I got an important part working. Thanks a lot

  • @SimPwear84
    @SimPwear84 10 місяців тому

    Thank you so much for creating this course. Loved the content and it helped me look like a rock star at work😂
    I have subbed with notifications and looking forward to more videos🔥

  • @koryn801
    @koryn801 5 років тому +2

    This is exactly what I was looking for. спасибо!

  • @uwayojacques317
    @uwayojacques317 Рік тому

    Thanks for nice explanation and giving free knowledge to the world

  • @mzeiger100
    @mzeiger100 6 місяців тому

    Extremely helpful. Thanks

  • @mumbles1justin
    @mumbles1justin 4 роки тому +2

    This was a very helpful tutorial. Thank you!

  • @maitrythakkar3899
    @maitrythakkar3899 3 роки тому +1

    Thank you so much for great explanation. Very helpful tutorial.

  • @chnsonic
    @chnsonic 4 роки тому +1

    What a fantasy tutorial for pm2 and express!

  • @Blue-bb9ro
    @Blue-bb9ro 3 роки тому +1

    Thank you, I've learned so much!!!

  • @AbubakarShangab
    @AbubakarShangab Рік тому

    Thank you very very much, perfect tutorial

  • @margeshpatel2640
    @margeshpatel2640 4 роки тому +1

    You are great sir! Thank you very much...

  • @siddhantpardeshi725
    @siddhantpardeshi725 4 роки тому +1

    Very Nice video Sir ..good explanation of pm2

  • @lantra5563
    @lantra5563 5 років тому +1

    thanks for the video, I really like your tutorials

  • @АлександрСосо-щ1б

    Спасибо большое! это та инфа, что искал!

  • @nagakrushnay4254
    @nagakrushnay4254 3 роки тому

    It was Very helpful, Thank you.

  • @juttameerhamza
    @juttameerhamza 5 років тому +1

    Found this tutorial very useful and hope you to make more awesome tutorial could make a series on cloud native computing with roadmap to learn like to learn docker, kubernetes and what to learn next. :-)

  • @erickloningo2252
    @erickloningo2252 3 роки тому

    Awesome explanation. thanks alot

  • @krishanthadharmasiri5266
    @krishanthadharmasiri5266 2 роки тому +1

    Thank you so much, for this awesome video, do you happen to cover how to use PM2 in production for Flask API (Prod server)

  • @nickchauhan
    @nickchauhan 3 роки тому

    Thanks a lot 🙏🏻
    It was really helpful ☺️

  • @kalashnikov203
    @kalashnikov203 Рік тому

    Awesome!!!

  • @mhktind
    @mhktind 4 роки тому +1

    Thank you very much 😊

  • @arifluthfi1174
    @arifluthfi1174 3 роки тому

    Amazing Video!

  • @tusharsairam6166
    @tusharsairam6166 4 роки тому +1

    Amazing, Thanks

  • @sanidhyasaraswat
    @sanidhyasaraswat 4 роки тому

    Respect! Great content !

  • @lukyanetseng4031
    @lukyanetseng4031 3 роки тому

    Thanks, man

  • @nishantkumar6960
    @nishantkumar6960 4 роки тому +1

    Thank You

  • @mianmuhammad8223
    @mianmuhammad8223 5 років тому +1

    Thanks 😊

  • @silentprogrammer2574
    @silentprogrammer2574 5 років тому

    Always rock 🤟

  • @andrewhardy6182
    @andrewhardy6182 4 роки тому

    why does reload not fail since when fully started the second process will be listening on the exact same port as the process already running? OR does it kill the old process early in the life of the new and is that a timing risk, OR.... does pm2 somehow manage various sockets/handles etc virtually and is therefore able to switch the real listening port connection when ready? I'd be interested to know about this and if reload will work in a stable fashion for EVERY app and if so HOW?
    Thanks

  • @shamstabrez2986
    @shamstabrez2986 Рік тому

    BOGDAN TELL ME ONE THING BROTHER THERE IS A BIG CONFUSION IN MY HEAD WHILE LEARNING CICD I HEARD ABOUT PM2 WHILE DEPLOYING NODEJS APPLICATION I DIDNT GET ANYTHING, I WNNA ASK U AS A DEVOPS ENGINEER POD AND DOCKER CONTAINER HAVE THIS CAPABLITY TO MAKE THE APPLICATION ALWAYS UP AND RUNNING INSIDE SO SHOULD I USE PM2 ALSO THERE INSIDE DOCKER CONTAINER AND POD PLZ CLEAR MY CONFUSION WHICH IS THE BEST USE CASE TO USE PM2 TO MAKE MY APPLICATION ALWAYS UP AND RUNNING ON ANY SERVER OR DOCKER CONTAINER OR POD

  • @milon27
    @milon27 3 роки тому

    pm2 save and pm2 startup are they required?

  • @tausifkovadiya1810
    @tausifkovadiya1810 2 роки тому

    I'm a beginner on Node. I am using PM2 on Cpanel, however, I found that for any database error it shows status as "errored", the server stops and won't restart automatically. Please suggest, how can I overcome this ? . database errors are because it's not detecting env. variables.

  • @fernando7517
    @fernando7517 2 роки тому

    👍👏👏

  • @amsurjo
    @amsurjo 3 роки тому

    Nice tutorials. Can you please make tutorials on Feathers.Js

  • @GabrielMartinez-ez9ue
    @GabrielMartinez-ez9ue 4 роки тому

    What theme do you use? its pretty nice. Thanks a lot for this course.

    • @ricky8466
      @ricky8466 Рік тому

      yes, i searching for the themes too, if anyone knows, please tell us, thanks!

  • @RR-le7wd
    @RR-le7wd 4 роки тому

    hello how can i pipe two apps.. Output of OpenCV pythonApp to Ffmpeg and output of ffpeg into the node app ????

  • @uwayojacques317
    @uwayojacques317 Рік тому

    can you tell me the color and type of your vs code Color Theme?

  • @NiraliLimbad
    @NiraliLimbad 2 роки тому

    How can I run "pm2 startup" on the windows server 2019?

  • @hoatranquang8376
    @hoatranquang8376 Рік тому

    Dear Bogdan Stashchuk,
    The first thank big for you.
    I had workfollow as aboves, but it have problems.
    - after install nodejs, npm, pm2
    - when i action: pm2 list -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2
    and pm2 start app.js -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2 --> it can not show table as you was worked.
    I had tried many method( install Os Ubuntu 22.04 , install nodejs..., but it still have problems as above
    Can you and everybody help me!
    Thnak you so much.

  • @raymondmichael4987
    @raymondmichael4987 3 роки тому

    1:47, I subed already

  • @SerhatAtes
    @SerhatAtes 3 роки тому

    I wish there was "pm2-logrotate" topic as well

  • @shimonbrandsdorfer9427
    @shimonbrandsdorfer9427 5 місяців тому

    Why is it called pm2 ?

  • @lukalionc4702
    @lukalionc4702 4 роки тому

    "serve": "node server.ts",
    "start": "ts-node server.ts ", ? problem

  • @Matthias53787
    @Matthias53787 8 місяців тому

    appapea

  • @fxstreamer238
    @fxstreamer238 Рік тому

    TLDW