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

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

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

  • @viktorlenard
    @viktorlenard 7 месяцев назад +5

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

  • @Can-el3cj
    @Can-el3cj 7 месяцев назад +1

    great video, thanks! looking forward to upcoming videos.

  • @eugenioguevara2620
    @eugenioguevara2620 2 месяца назад +5

    if this is not ideal for production then what is? should i use a docker container instead?

  • @eternl_sunshine22
    @eternl_sunshine22 5 месяцев назад +1

    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

  • @collinsk8754
    @collinsk8754 6 месяцев назад +2

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

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

    Thanks Robby. You did a good job. I used this as a guide to setup my app on live.

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

    Just a quick tip: instead of doing `touch authorized_keys` you can (at least with vim not sure about nano and others) type `vim authorized_keys` and it'll open the editor and when you save it'll create that file as well saving you several seconds!

  • @eternl_sunshine22
    @eternl_sunshine22 5 месяцев назад +1

    u r a king. I literally needed this today

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

    I do docker container on aws instance with cyberpanel or any vps host. It works great.

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

    Great flow and explanations! Thank you! Subbed!
    My only feedback is to add chapters/timestamps to your video so we can jump to specific topics in the video

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

    Thank you so much. You explain very clearly and are easy to understand.

  • @MikhailAdutskevich-n3p
    @MikhailAdutskevich-n3p Месяц назад

    Hey, super helpful video! Thank you!

  • @jackjsy
    @jackjsy 7 месяцев назад +16

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

    • @codingwithrobby
      @codingwithrobby  7 месяцев назад +10

      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 6 месяцев назад

      use docker/kubernetes

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

    Great video. Do you have an insights on best dealing with the memory leaks from using pm2?

  • @adamo9245
    @adamo9245 5 месяцев назад +2

    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 4 месяца назад

      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.

  • @jonpaulsballs
    @jonpaulsballs 7 месяцев назад

    new favorite youtube channel

  • @GKKWSRYSRP
    @GKKWSRYSRP Месяц назад +4

    Why is it not recommended for production?

    • @mr.vedmutha
      @mr.vedmutha 6 дней назад

      It’s not that DigitalOcean can’t be used for production, but a CDN is essential for production-ready deployments. You can use something like Cloudflare for that. I think the tutorial is skipping the CDN part for simplicity.

  • @DianeHannay-nj9mm
    @DianeHannay-nj9mm 4 месяца назад

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

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

    Thanks you for share information

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

    I was really into hosting my own deployment with next js but after seen this video I'd rather pay 20$ to vercel!

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

      i feel the same, this amount of work just to host an app is crazy to me.

  • @sealone777
    @sealone777 6 месяцев назад

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

  • @nicktsigkros4641
    @nicktsigkros4641 7 месяцев назад

    This video is a gem!!

  • @jonice4229
    @jonice4229 5 месяцев назад

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

  • @LestariNendri
    @LestariNendri 5 месяцев назад

    clearly explained! thankss

  • @sambarjunk
    @sambarjunk 5 месяцев назад

    Thanks, this is quite helpful.

  • @hakanaki
    @hakanaki 5 месяцев назад

    You're awesome, thank you.

  • @grindco732
    @grindco732 6 месяцев назад

    thx a lot!! realy helpfull, perfect explanation

  • @friedegg8695
    @friedegg8695 6 месяцев назад

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

  • @adoreos
    @adoreos 7 месяцев назад

    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?

  • @bmxandcode
    @bmxandcode 4 месяца назад

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

  • @akhil_sarikonda
    @akhil_sarikonda 7 месяцев назад +1

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

    • @codingwithrobby
      @codingwithrobby  7 месяцев назад +1

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

  • @IgorGaiduk-f9l
    @IgorGaiduk-f9l Месяц назад

    awesome!🤤

  • @afdhaliapreto7703
    @afdhaliapreto7703 5 месяцев назад

    it can be deploy with restfull api on next js?

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

    what about auto deploy from github

  • @tmabid3259
    @tmabid3259 6 месяцев назад

    awesome video

  • @KhalilshaikhShaikh-q7i
    @KhalilshaikhShaikh-q7i 7 месяцев назад

    Sir how to speed up website on mobile

  • @io_inc
    @io_inc 7 месяцев назад

    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

    • @ayukalvieri3154
      @ayukalvieri3154 7 месяцев назад

      Thank you for the the heads up man