Thanks for the video. I am using the free tier on AWS and whenever I create more than one runner , the first one goes offline . Is there a way around it?
thank you for video! I have a question.. so I do not need to git clone when using github actions ? and if I already git clone and deploy the app, if I want to set up auto deploy with github actions, I need to remove the foler for git?
Awesome information, thank you! Although I don't think the "npm run build" is necessary on the front end since there's already a "npm run build --if-present" before that that builds a project as long as there's a "build" script in your package.json (which there is, otherwise you wouldn't be able to run npm run build).
Thank you for a thorough tutorial. I face one issue however. When I try to deploy my frontend, "Run npm ci" keeps running. Eventually it disconnects. Any suggestions?
Thanks for this vedio. However can u make a updated vedio with Basic MERN THAT INTGRATES EVERY STACK (MERN) end to end so that itwould be helpful where changes needed while integrating frontend to backend .
@Mahesh Kariya I have done same but when it try to visit the URL it is showing not reachable. No nginx screen is displayed. ON terminal version is showing as nginx version: nginx/1.18.0 (Ubuntu)
I am getting a 404 error when I navigate to index. Anyone with similar issue? I did a quick search and it seems it is related to the subject of permissions. Note: the default root was working just fine with the default index.hml files
hi sir, i havefollowing this tutorial, and when github action running it's job. It suddenly freeze and ec2 system checks said it's not reachable? do you know why?
@@maheshkariya Thank you One more thing, if I have multiple domains, how do I do that? For example in domain a for frontend and subdomain a for backend, and so on in domain b, c, etc. Can you explain? maybe in a new tutorial😁
I have done same but when it try to visit the URL it is showing not reachable. No nginx screen is displayed. ON terminal version is showing as nginx version: nginx/1.18.0 (Ubuntu)
you are refering to MERN... this project is not MERN.... can you actually work on MERN project which involves Mongodb/MYSQL database and where frontend and backend are actually talking to each other and not "DIVORCED" like yours ? I am able to create workflows like yours but I have not been able to do it for actual MERN, which made me land here... so hoping to get some help
thanks, bro.. it was helpful. I have single repository for the frontend(react js) and backend(Springboot). how do I create .yaml file for frontend. does cd frontend && npm test works in yaml ?
Hi Magesh, I have problem with codebuild when ever my code build has started my aws EC2 server connection is went to offline and the code build and push is not happening how can i resolve this issue any suggestion?
Hey! So at the 5th minute where u do sudo ssh -i ".pem" etc etc, it does not work for me. I get the error login as ubuntu rather than root. I cant find a solution online for this, so the rest of the video is useless to me as I cannot proceed. CAn u help?
I have showed in video, You just need to pass while using docker and you can access it by process.env else if you are not using docker just use dotenv npm package.
@@arnavbansal4259 Oh! Good one, You need to dig into ngnx docker doc to provide file to setup enviroments. seeps easy actually you can create custom file for env and you can pas path of your local in nginx while creating docker compose
Nice example. But I have one concern. When the front-end build is running the website is not working. It means customer will going to face downtime. how can we prevent it?
This was educational but, i ran into a problem with the way you configure your workflow for your backend. The instructions you give in the YML file are wrong considering your express server does not run tests nor does it run build. the command for executing such command for me in particular is npm start. Now on the front end you must build before running but this is a huge step missed.
Thanks Mahessssssshhhhh Dal..... :D (kidding :P, great video by the way!)
Thanks 😅
You are the best. God bless you!
Thanks 🙏
Fantastic tutorial, Thanks Mahesh.
Thanks
Exactly the video I was looking for great explanation bro🔥🔥
Thanks
Where is the explanation?
bro this is amazing, to the point, no bullshit
Thanks 🙏
Nice end-to-end tutorial. Thank you
Thanks
This video is amazing, Thankyou!
Thanks
Thank you for this, please could you do another approach using kubernetes and docker for a react frontend and express backend with postgres database
thnks for this awesome tutorial @mahesh
Thanks for clear explanation. Really nice👍
You are welcome and don't forget to subscribe if you haven't already
Thanks for the video, One question I have Who we manage the env of the backend with this manner
Thank you, brother, very educational!
Thanks
This was good Example thank you
Thanks
It helped me a lot, thank you very much 👍
Thanks and don’t forget to subscribe
Why did you use sudo, it works without one, does not it? Or at least it did for me.
if i don't want to get 404 and 403 in server when pipeline is running in github action so it there any option ?
Thanks for the video. I am using the free tier on AWS and whenever I create more than one runner , the first one goes offline . Is there a way around it?
increase your instance size to t3.medium
thank you for video! I have a question.. so I do not need to git clone when using github actions ? and if I already git clone and deploy the app, if I want to set up auto deploy with github actions, I need to remove the foler for git?
Reply fast
AWS ssh client terminal was struck when the frontend nodejs.yml running and taking too much time at *npm run build --if-present*
@mohithreddyvuyyuru, Did you solve above issue ? if solved could you please help me now i am facing the same issue
Use t2.small or higher instances
This is really helpful. Thank you.
Glad it was helpful! And Don't forget to subscribe if you enjoyed Okay
Hi can you help me im trying to implement same example but getting an error exit with error
Nice
Thanks
Awesome information, thank you!
Although I don't think the "npm run build" is necessary on the front end since there's already a "npm run build --if-present" before that that builds a project as long as there's a "build" script in your package.json (which there is, otherwise you wouldn't be able to run npm run build).
Thanks and don’t forget to subscribe if you haven’t already Okay 👍
Thank you for a thorough tutorial. I face one issue however. When I try to deploy my frontend, "Run npm ci" keeps running. Eventually it disconnects. Any suggestions?
I am also facing the same issue, can anyone please help
me too@@saisankethravva5706
Nice tutorial
Thanks
My Backend is not working when i hit ip address with /api/ param it shows cannot GET / But particular API is present at my backend route file
how does .env file work here or it's not needed because of when an application is connected to postgres database
Thanks for this vedio. However can u make a updated vedio with Basic MERN THAT INTGRATES EVERY STACK (MERN) end to end so that itwould be helpful where changes needed while integrating frontend to backend .
@Mahesh Kariya I have done same but when it try to visit the URL it is showing not reachable. No nginx screen is displayed. ON terminal version is showing as nginx version: nginx/1.18.0 (Ubuntu)
if u find solution then help me . i am also facing same problem.
_work directory not shown after initiating the GitHub action runner on EC2
It will generate automatically once you commit something
I am getting a 404 error when I navigate to index. Anyone with similar issue? I did a quick search and it seems it is related to the subject of permissions. Note: the default root was working just fine with the default index.hml files
thanks man,thank u very much
Dont forgetto subscribe okay
hi sir, i havefollowing this tutorial, and when github action running it's job. It suddenly freeze and ec2 system checks said it's not reachable? do you know why?
why can't you combine CICD together??
That's what we did here
Thnks bro. it is gud.. but you could be slow and can explain things why we doing it.
Thanks
I increased the instance size and the frontend and everything runs just fine
Cannot perform an interactive login from a non TTY device
Why is sudo required to run the nodejs app?
Don't worry No need but pm2 I thing will run with sudo.
Hi, if i using droplet in digitalocean, it’s same?
Yes 👍
@@maheshkariya Thank you One more thing, if I have multiple domains, how do I do that? For example in domain a for frontend and subdomain a for backend, and so on in domain b, c, etc. Can you explain? maybe in a new tutorial😁
I have done same but when it try to visit the URL it is showing not reachable. No nginx screen is displayed. ON terminal version is showing as nginx version: nginx/1.18.0 (Ubuntu)
great
Thanks
Hi bro, can you let me know, how to achieve CD with the help of actions
you are refering to MERN... this project is not MERN.... can you actually work on MERN project which involves Mongodb/MYSQL database and where frontend and backend are actually talking to each other and not "DIVORCED" like yours ? I am able to create workflows like yours but I have not been able to do it for actual MERN, which made me land here... so hoping to get some help
Lmao "DIVORCED"
i dont get a _work directory
thanks, bro.. it was helpful. I have single repository for the frontend(react js) and backend(Springboot). how do I create .yaml file for frontend. does cd frontend && npm test works in yaml ?
did you solve this?
How, and when did you added node.js.yml file there is no explanation of that one.
Ignore it
Hi Magesh, I have problem with codebuild when ever my code build has started my aws EC2 server connection is went to offline and the code build and push is not happening how can i resolve this issue any suggestion?
It’s mahesh
@Selvakumar-hd6zc, Did you find any solution for abovr you issue ?
Hey! So at the 5th minute where u do sudo ssh -i ".pem" etc etc, it does not work for me. I get the error login as ubuntu rather than root. I cant find a solution online for this, so the rest of the video is useless to me as I cannot proceed. CAn u help?
do anyone knows how to set up .env for this please give me a solution
How to set environment variables for backend?
I have showed in video, You just need to pass while using docker and you can access it by process.env else if you are not using docker just use dotenv npm package.
@@maheshkariya Is there any .config file for nginx where I can set environment variables for backend?
@@arnavbansal4259 Oh! Good one, You need to dig into ngnx docker doc to provide file to setup enviroments. seeps easy actually you can create custom file for env and you can pas path of your local in nginx while creating docker compose
cannot see my output
Nice example. But I have one concern. When the front-end build is running the website is not working. It means customer will going to face downtime. how can we prevent it?
no
dude, great tutorial, big thanks
just curious, does your tab button broken?🙃
I don't think so
This was educational but, i ran into a problem with the way you configure your workflow for your backend. The instructions you give in the YML file are wrong considering your express server does not run tests nor does it run build. the command for executing such command for me in particular is npm start. Now on the front end you must build before running but this is a huge step missed.
🙂
помогло!
thanks a lot but react app nahi chal raha
Remove background music
Hi, I need help regarding my project for automating deployment. How can I contact you?