How to deploy a NextJS app on Digital Ocean instead of Vercel
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
Comprehensive, concise and complete 🔥🔥. Definitely the tutorial we needed. Thanks.
Thank you for this, very informative! Love your content.
great video, thanks! looking forward to upcoming videos.
new favorite youtube channel
u r a king. I literally needed this today
Imagine doing all of this just for the 5 users we all have on our apps...
Haha true, but I’m sure there’s people out there that could spend 30 minutes setting this up to save hundreds a month
use docker/kubernetes
This video is a gem!!
Would be great to see a new video ... how to deploy a NextJS app on DO App Platform.
Thanks, this is quite helpful.
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
thx a lot!! realy helpfull, perfect explanation
clearly explained! thankss
You're awesome, thank you.
awesome video
This is awesome! I wonder if there’s a docker version of this just in case when your vps explodes
great tutorial, will be the same for deploying an remix app from shopify?
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?
That is cool video!, can do it with docker ?
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
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
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.
I'm trying to run npm start, but it throws the error that could not find a production build in the '.next' directory.
it can be deploy with restfull api on next js?
Sir how to speed up website on mobile
Vercel actually reduced their prices if i have to go with an email they sent recently
Yeah I think they said 90% should have a smaller bill. I think a lot people still got screwed over though
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
Thank you for the the heads up man