Deploy Next JS Project via Github and Automate Deployment Nginx VPS

preview_player
Показать описание
Deploy Next JS Project via Github and Automate Deployment Nginx VPS
00:00 Project Introduction
01:30 Next JS Deployment Instruction
03:11 Requirement to Host Vue Project
04:46 Install git, node and pm2
06:26 Add PM2 to startup
06:40 Verify Nginx Status and Allowed Ports
07:20 Point Domain to VPS Remote Server
11:08 Copy NextJS Project from Local Machine to Remote Server
11:50 Copy Using Command Prompt
15:47 Push Project from Local to Github as Private Repo
18:28 Make connection between Remote Server and Github Repo via SSH Key
20:27 Clone Github Repo
21:43 Create Virtual Host File
25:33 Enable Virtual Host
26:55 Check Config and Restart Nginx
27:05 Install Dependencies
27:36 Create Production Build
29:14 Create PM2 Config File
31:07 Restart Nginx
31:24 Start NextJS App using PM2
37:37 Git Pull
34:50 Reload PM2
35:58 Why use Automation
36:37 Creating deploy bash script
38:12 Set File Permission for bash Script
38:45 Creating Github Workflows
41:07 Add Github Secret Variables
46:24 Git Pull Scripts on Server
48:38 Checking Deployment Automation

Domain and VPS Hosting:

Check Out Our Other Playlists:

Learn more about subject:

________________________________________________

DISCLAIMER: The links provided in the description may be affiliate links. If you buy anything from these links, then I may get some commission. But bear in mind, you won't be charged even an extra penny. I would be glad if you use these links!
________________________________________________

T A L K W I T H M E !
_______________________________________________

Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :)
_______________________________________________
Рекомендации по теме
Комментарии
Автор

Hostinger Buyer will get 20% OFF

BigRock

geekyshows
Автор

Nice keep it up bro. I support you even I have suggested your tutorials to others.

ravinsvlog
Автор

Thanks for the video bro
I know your channel is struggling. But I personally like your content and always revisit your old videos to clear my doubts .

manasuniyal
Автор

Nice brother, keep it up. we are with you!🚀

legend_
Автор

Bro bro i support you
Bhale hi video na dekhu but video chalu kar ke system leave kar deta hoon

So that you get watch time hours 👍👍👍👍

thefuntech
Автор

Thank you for the reply! Would you please also help on how to setup dev branch on sub domain, since the port is same, it always goes to main branch.

mohdsahil
Автор

Sir agar project ka folder var/www, hai then ngnix configuration m root directory add karna padegi?? Please reply

Karthik-qjuu
Автор

Great content! can you please add docker to this video since most of the we get different version or windows/Linux configuration error.

mohdsahil
Автор

mainy domain provider k dashboard my server ip b add krdi 2 din ho gya phr b dns checker me cross arha ha

jacquelynecarmen
Автор

Really help full
how can I used env varaible in vps hosting

FaizanAli-mwr
Автор

Sir I need help you actually mene sabhi procedure kar ke dekh liya le ki meri Apache digital page show hu raha ha par meri file or meri website nhi show hu rahi ha

aakashkumar-zufd
Автор

bro apka java ka tutorial kafi purana h 7 years old, aap java tutorials firse bnao achee se, mujhe pta h ap bhot achaa bnaoge

S.P.
Автор

@geekyshows
Sir, Please make a video of Docker Registry

punka
Автор

Sir, ek next js ki complete means full stack video lao, please for react beginner. I checked your playlist but it's missing, please sir

kumar_sanjeevdutta
Автор

Bhai next.js 13 Ka course kB de rahy Hain??

zaibakela
Автор

Bhai mere website me 403 access denied show hora hai kaise fix karu

officialoveking
Автор

I have deployed successfully but it's not redirecting my ip to my website and server taking to much time to response

deepsinc
Автор

Sir, create one video on django database backup 🥵 most awaited video

omkarsutar
Автор

Sir please ek node js application ko bhi ishe trh development karke dekaye

bilalrashid
Автор

Sir make video on Jenkins how to deploy project using Jenkins thanks a lot sir❤❤❤

forexspectrum
welcome to shbcf.ru