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
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!
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
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.
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.
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?
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 this, very informative! Love your content.
great video, thanks! looking forward to upcoming videos.
if this is not ideal for production then what is? should i use a docker container instead?
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
Comprehensive, concise and complete 🔥🔥. Definitely the tutorial we needed. Thanks.
Thanks Robby. You did a good job. I used this as a guide to setup my app on live.
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!
u r a king. I literally needed this today
I do docker container on aws instance with cyberpanel or any vps host. It works great.
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
Thank you so much. You explain very clearly and are easy to understand.
Hey, super helpful video! Thank you!
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
Great video. Do you have an insights on best dealing with the memory leaks from using pm2?
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.
new favorite youtube channel
Why is it not recommended for production?
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.
Would be great to see a new video ... how to deploy a NextJS app on DO App Platform.
Thanks you for share information
I was really into hosting my own deployment with next js but after seen this video I'd rather pay 20$ to vercel!
i feel the same, this amount of work just to host an app is crazy to me.
This is awesome! I wonder if there’s a docker version of this just in case when your vps explodes
This video is a gem!!
great tutorial, will be the same for deploying an remix app from shopify?
clearly explained! thankss
Thanks, this is quite helpful.
You're awesome, thank you.
thx a lot!! realy helpfull, perfect explanation
I'm trying to run npm start, but it throws the error that could not find a production build in the '.next' directory.
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 ?
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
awesome!🤤
it can be deploy with restfull api on next js?
what about auto deploy from github
awesome video
Sir how to speed up website on mobile
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