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

Поділитися
Вставка
  • Опубліковано 7 кві 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/
  • Наука та технологія

КОМЕНТАРІ • 28

  • @collinsk8754
    @collinsk8754 2 місяці тому +2

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

  • @viktorlenard
    @viktorlenard 2 місяці тому +4

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

  • @Can-el3cj
    @Can-el3cj 2 місяці тому +1

    great video, thanks! looking forward to upcoming videos.

  • @jonpaulsballs
    @jonpaulsballs 2 місяці тому

    new favorite youtube channel

  • @eternl_sunshine22
    @eternl_sunshine22 29 днів тому

    u r a king. I literally needed this today

  • @jackjsy
    @jackjsy 2 місяці тому +5

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

    • @codingwithrobby
      @codingwithrobby  2 місяці тому +3

      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 Місяць тому

      use docker/kubernetes

  • @nicktsigkros4641
    @nicktsigkros4641 2 місяці тому

    This video is a gem!!

  • @adamo9245
    @adamo9245 11 днів тому +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

  • @eternl_sunshine22
    @eternl_sunshine22 20 днів тому

    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

  • @LestariNendri
    @LestariNendri 15 днів тому

    clearly explained! thankss

  • @sambarjunk
    @sambarjunk 10 днів тому

    Thanks, this is quite helpful.

  • @grindco732
    @grindco732 2 місяці тому

    thx a lot!! realy helpfull, perfect explanation

  • @hakanaki
    @hakanaki 13 днів тому

    You're awesome, thank you.

  • @tmabid3259
    @tmabid3259 Місяць тому

    awesome video

  • @sealone777
    @sealone777 Місяць тому

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

  • @jonice4229
    @jonice4229 6 днів тому

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

  • @adoreos
    @adoreos 2 місяці тому

    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?

  • @sadavarshsaini9801
    @sadavarshsaini9801 2 місяці тому

    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

  • @friedegg8695
    @friedegg8695 Місяць тому

    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 29 днів тому

    it can be deploy with restfull api on next js?

  • @user-yg7oj3fr6k
    @user-yg7oj3fr6k 2 місяці тому

    Sir how to speed up website on mobile

  • @akhil_sarikonda
    @akhil_sarikonda 2 місяці тому +1

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

    • @codingwithrobby
      @codingwithrobby  2 місяці тому

      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 2 місяці тому

    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