How to deploy a NextJS app on Digital Ocean instead of Vercel

Sdílet
Vložit
  • čas přidán 7. 04. 2024
  • Get $200 digital ocean credit - m.do.co/c/5915d349fadc
    In this video we host a NextJS app and database on a $6 digital ocean droplet.
    Source code - github.com/Coding-with-Robby/...
    Server block snippet - gist.github.com/robbyklein/44...
    Node Version Manager - github.com/nvm-sh/nvm
    PM2 - www.npmjs.com/package/pm2
    Yarn - yarnpkg.com/
  • Věda a technologie

Komentáře • 31

  • @collinsk8754
    @collinsk8754 Před 2 měsíci +2

    Comprehensive, concise and complete 🔥🔥. Definitely the tutorial we needed. Thanks.

  • @viktorlenard
    @viktorlenard Před 3 měsíci +4

    Thank you for this, very informative! Love your content.

  • @Can-el3cj
    @Can-el3cj Před 3 měsíci +1

    great video, thanks! looking forward to upcoming videos.

  • @jonpaulsballs
    @jonpaulsballs Před 3 měsíci

    new favorite youtube channel

  • @eternl_sunshine22
    @eternl_sunshine22 Před měsícem

    u r a king. I literally needed this today

  • @jackjsy
    @jackjsy Před 3 měsíci +7

    Imagine doing all of this just for the 5 users we all have on our apps...

    • @codingwithrobby
      @codingwithrobby  Před 3 měsíci +4

      Haha true, but I’m sure there’s people out there that could spend 30 minutes setting this up to save hundreds a month

    • @wanarchives
      @wanarchives Před 2 měsíci

      use docker/kubernetes

  • @nicktsigkros4641
    @nicktsigkros4641 Před 3 měsíci

    This video is a gem!!

  • @DianeHannay-nj9mm
    @DianeHannay-nj9mm Před 19 dny

    Would be great to see a new video ... how to deploy a NextJS app on DO App Platform.

  • @sambarjunk
    @sambarjunk Před měsícem

    Thanks, this is quite helpful.

  • @eternl_sunshine22
    @eternl_sunshine22 Před měsícem

    i just used this guide to run a self hosted dev environment.
    cos sometimes i work on a project on my pc then when i'm out and about i forget that just git cloning my project won't work since i won't have my .env files, so i just decided to work on a server through ssh and i can view my project on the web when i run npm run dev :D thanks a lot

  • @grindco732
    @grindco732 Před 2 měsíci

    thx a lot!! realy helpfull, perfect explanation

  • @LestariNendri
    @LestariNendri Před měsícem

    clearly explained! thankss

  • @hakanaki
    @hakanaki Před měsícem

    You're awesome, thank you.

  • @tmabid3259
    @tmabid3259 Před 2 měsíci

    awesome video

  • @sealone777
    @sealone777 Před 2 měsíci

    This is awesome! I wonder if there’s a docker version of this just in case when your vps explodes

  • @jonice4229
    @jonice4229 Před měsícem

    great tutorial, will be the same for deploying an remix app from shopify?

  • @adoreos
    @adoreos Před 3 měsíci

    Would love to learn how to make the deploying phase easier
    I want to push new changes and auto build and run the new code, how can this be done in the least hacky way?

  • @bmxdeveloper
    @bmxdeveloper Před 10 dny

    That is cool video!, can do it with docker ?

  • @sadavarshsaini9801
    @sadavarshsaini9801 Před 3 měsíci

    I try to make a partially paymet app for my shopify store where user choose option partially payment 10% advance and remaining amount cod or full payment advance but i don't understand which api i use admin api or storefront api

  • @adamo9245
    @adamo9245 Před měsícem +1

    Do you think with the new App Manager of DigitalOcean a few instmces and a Load Balancer you can set up a quite hightraffic (15TB/mo) project? Or what should i use to host enterprice level production nextJs projects with high bandwith and many users?
    Thanks in advance

    • @DianeHannay-nj9mm
      @DianeHannay-nj9mm Před 19 dny

      App Platform is their PaaS solution. Ideal if you want easy management and transparent costs (no infrastructure worries). For high bandwidth, enterprise apps, go for a dedicated CPU.

  • @friedegg8695
    @friedegg8695 Před 2 měsíci

    I'm trying to run npm start, but it throws the error that could not find a production build in the '.next' directory.

  • @afdhaliapreto7703
    @afdhaliapreto7703 Před měsícem

    it can be deploy with restfull api on next js?

  • @user-yg7oj3fr6k
    @user-yg7oj3fr6k Před 3 měsíci

    Sir how to speed up website on mobile

  • @akhil_sarikonda
    @akhil_sarikonda Před 3 měsíci +1

    Vercel actually reduced their prices if i have to go with an email they sent recently

    • @codingwithrobby
      @codingwithrobby  Před 3 měsíci +1

      Yeah I think they said 90% should have a smaller bill. I think a lot people still got screwed over though

  • @io_inc
    @io_inc Před 3 měsíci

    I'm unable to build my app, it would just cancel when i or state done in 21s without fully building when i run: yarn build
    EDIT: My project is massive, so it requires more ram to build for some odd reason, i increased my ram size to 4 gig ram