Deploy Nodejs App to DigitalOcean in 10 Minutes (Free SSL & Custom Domain)

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 30

  • @pyrolas328
    @pyrolas328 2 месяца назад +1

    been searching for hours now but yours worked perfectly thanks

  • @MeMasterMind
    @MeMasterMind Месяц назад

    super quick and concise. thank you!

  • @thiagomm
    @thiagomm 3 месяца назад

    AMAZING! Man... you are the one! Better than oficial DO tutorials.

  • @tatendamuzenda8442
    @tatendamuzenda8442 2 месяца назад

    i can never thank you enough man

  • @LSAPilot
    @LSAPilot 2 месяца назад +1

    Amazing Tutorial, helped me so much!
    One more question: When trying to deploy new code, is it enough to just pull them into my projectdirectory? Or do I have to stop the Server beforehand and restart it afterwards?
    If so how do I end the service when running in pm2?
    Kind regards :)

    • @hayk.simonyan
      @hayk.simonyan  2 месяца назад +1

      You have to stop and restart the server, and you can use the pm2 stop command - pm2 stop your_app_name. After that, you can pull your changes and then restart the server with the same pm2 command that is shown in the video. Here are some useful commands that you can use pm2.keymetrics.io/docs/usage/process-management/

  • @denisvradiy8503
    @denisvradiy8503 Месяц назад

    thank you bro!
    you saved a lot of time for me!

  • @PatrickNoonan
    @PatrickNoonan 2 месяца назад

    Very helpful vid, thanks man!

  • @kylefrischman6873
    @kylefrischman6873 28 дней назад

    thank you, worked great

  • @KirubelBerhanu-nz3mr
    @KirubelBerhanu-nz3mr Месяц назад +1

    Hi, I was wondering if I could also install Postgres on the VM or do I have to buy a separate database cluster
    Thanks

    • @KirubelBerhanu-nz3mr
      @KirubelBerhanu-nz3mr Месяц назад

      I already found the answer thanks

    • @umutakkiran
      @umutakkiran 26 дней назад

      @@KirubelBerhanu-nz3mr can you share the answer with me please ?

  • @petersifuentez6420
    @petersifuentez6420 19 дней назад

    How do I upload my node.js project on github?

    • @hayk.simonyan
      @hayk.simonyan  17 дней назад

      docs.github.com/en/get-started/start-your-journey/uploading-a-project-to-github

  • @mojammelhossain2082
    @mojammelhossain2082 3 месяца назад

    it would be better if you could add the mongodb coonfiguration as well.. that would be a allout tuts

    • @hayk.simonyan
      @hayk.simonyan  2 месяца назад

      I'm not using mongodb in this example deployment, but I'll share that in the future as well once I have to make a deployment using mongodb

    • @hayk.simonyan
      @hayk.simonyan  2 месяца назад

      but you can use mongodb atlas in combination with digital ocean and that is pretty easy to configure by following mongodb atlas guide

  • @eQ-13
    @eQ-13 4 месяца назад

    This was a great tutorial. Could you add the deployment of front end too in the same droplet? How do we configure ngnix when both backend and front end are running on the same server?

    • @hayk.simonyan
      @hayk.simonyan  4 месяца назад +1

      You can deploy both on the same droplet by configuring Nginx to serve your frontend from the root and proxy /api requests to your backend. This way Nginx will handle both frontend and backend on the same server.

    • @eQ-13
      @eQ-13 4 месяца назад +1

      @@hayk.simonyan Thank you for your response. Much appreciated.