How to Deploy React App to GitHub Pages | Step by step.
HTML-код
- Опубликовано: 5 фев 2023
- git inint
git status
git add .
git commit -m "initial commit"
git branch -M 'main
git remote add origin "url"
git push -u origin 'main'
npm install gh-pages --save-dev
"homepage" : "url"
"predeploy":"npm run build"
"deploy":"gh-pages -d build"
npm run deploy
Subscribe for more videos!.
.
.
.
.
.
.
How To Deploy A React App To Github Pages (Simple)
How To Host React JS Website Live for Free using GitHub in 2022.
How to Upload / Deploy react.js app / project to GitHub Pages step by step process from Scratch.
How to Deploy Create React App to GitHub Pages?
How to Deploy React app on GitHub?
bro didn't said a single world but completed my work !! bro is real superhero
Thank you so much 😀
Agreed! Thanks so much man.
litterally trying whole day and i was actually gonna stop untill i saw this video really helped me thanks.
Hey buddy, nice. I had a problem in Build and deploy. Your clear, neat video explained the steps very well.
Thanks very much man.
I've spent days trying to deploy my react app.
I'm so glad I saw this.
Glad it helped
Thank you very much bro. It Was my first time deploying a react project. All attempts (reading documentations, blogs, and even seeing some other youtube videos) proved futile, not until I watched this video. Really, thanks a whole lot for your help!
Love from Nigeria.
Glad it helped!
Gem video , i wasted my entire day and finally found this one.❤ thanks a ton mate.
Thank you for this video! For the past two days, I've been racking my brain, trying to figure out why my github page wasn't updating. Your video made the process very clear and it worked like a charm. Thank you!
You're welcome!
what were the difficulties you faced and did this solution helped you ? can we deploy and react website by using this ?
Thank you good man. Really nice video. Short and clear!!! And It's working!
You're welcome!
Absolute Legend! Thank you
Thank you very much sir, I have watched lots of videos but not a single video helped me. Thank you 😊
You are most welcome
this is the only help full video on whole you tube content
it is the cleanest tutorial i ever seen broh you earned a subscriber
Bhai thank you so much, jitna bhi thanks bola Jaye km he aapke liye🙏🙏
Bro I was having so much difficulty in deploying my react app, I watch many tutorials but didn't get the point. You made it so simple. Love from Pakistan. Definitely going to subscribe and share your channel.
Glad I could help you ❤️
@@codewithajeshHi Bro, I am facing an issue. I have deployed by React app on GitHub following your mentioned steps. Most of the time, it is deployed perfectly, but sometimes code is uploaded and link has also been provided by GitHub pages, but that link is showing completely white blank page. Can you help me to fix this? Should I delete this repository and made a new one or run another command to obtain other link?
@@codewithajesh i need this type video ❤
@@codewithajeshnpm run deploy is getting error
@@codewithajeshworks with react+vite?
very thanks bhaiii...tin din se dimag kharab ho ra tha ...iss video ne help kariii🥲🥲🥲
I spent more than 4 hours then got solution here. Now it worked Thanx.
Thank you brother, i was stuck on it for hours 🙏
I was troubling too much in deployment of my react app and I tried many video but I didn't found helpful but this video is exactly the same which I like .
Thanks bro and It was too helpful
Glad it helped!
Simple and Point to Point video for beginner and professional also, Great brother 🙌
Thanks a ton
I was struggling with this
Thank you so much for the tutorial :D
Me too
Bro u are god . i almost cried and wasted a day and was not able to understand . I saw your video at 11:55 pm and i was able to successfully build . Thanks bro thanks a lot ❤❤❤ . you earned a subscriber
Glad it helped
This really helped me. Thanks so much dude! 👊
Glad it helped!
Thanks for the Cooperation, it's very helpful and easy to understand.🙂
Glad it was helpful!
Easy to implement .
I was searching for this detailed video😊.
Each point noted , got no errors.
Generated the URL link successfully.✅
Thank u very much😄👏.
Best video ✔
Great 👍
You made my day ❤. Its working completely ❤
Glad I could help
thank you for a clearly explained video and the zoom in on important text, worked out for me perfectly. so many of these kind of videos are so confusing and poorly explained
Glad it helped!
That was easy and simple. Thanks mate
Glad it helped
Thanks man !! It was really helpful :)
Glad it helped!
Thank You. Amazing tutorial!!
Thank you))) Wish you more subscribers!
Thank you! 😃
Aweeeeeeeeeeeeeeeeeeesome , Everything is very clear ...
Thank you Ajesh to make this video, it helped me a lot.
Glad it helped
thanks for the detailed explanation, continue to make more such videos
Sure thing!
Thank you so much it was really so easy to follow
This is the exact video to host the react app on github, 👍
Well done! Laconism and usefullness! It's just I wanted to find! You have my subscription - I'm the 17-th)))))
I had a monetized channel. It's adsense got banned. This is me restarting from scratch. Your subscription means a lot. Thanks
Thanks man. Although, on first trial it didn't work. I realized it was because of internet connection. It's working now 😁😁
Thank you buddy! You really helped me a lot!
Glad I could help!
Thanks bro ❤, this is super helpful for me😊
Thank You very much. Love from India!
Thanks a lot!! This was so much helpful
Glad it helped!
Very nice without a single word its truly understandable and I deployed my app.... Thank u bro✨✨
Glad to hear that
Awesome Brother.... & It's so easy then others, OMG!!!!
Thanks a ton
straight upto point, breaking my head since 9 hours nothing worked.. saw this video , and all set..!!
🤣
Depois de muitos tutoriais, este foi o único que deu certo.
Obrigado pelo vídeo.
passei por essa mesma situação mas agora deu certo 🙌🙌
Aconteceu o mesmo comigo.
Ufa finalmente achei.😌
Thanks man. It worked!!
Glad it helped
Hey, I have two folders. Like one for api and other for frontend. How can we deploy both. I tried with firebase. But only frontend got deployed.
It was Ecom website, frontend with no products got deployed.
Can you suggest any workaround
Such a helpful video, thank you!!!
Glad it was helpful!
Thank you soo much bro ,your video was really helpful
❣
Always welcome
clear and concise
Thanks very much your video was to the point .
great work man
Thank you! Good video!
Glad you liked it!
Thank you for helping me a lot! 😁
Happy to help!
best video to deploy on github
wow finally got some awesome video , thank you for your help
You're welcome!
Awesome video, thank you!!
Glad you liked it!
Thank you very much, you are great!
Thank you too!
Sir i have got an error regarding there's no such type of directory whenever the last step deploy what it means and by the way it is an vite+react app
in settings/pages , gh-pages branch is not showing
You're a saver buddy.
This is master level tutorial thanks.
thanks man. your video helped me a lot
Glad to hear it!
thaaaanks bro!!
I've tried about 10 different ways to deploy react project on github, but again and again all i can see in main page is getting started page. Who else gets stucked with this? What the soluition?
Thank you so much was so easy to understand
You're very welcome!
Thank you very useful❤
You earned a subscriber
Very clear, thank you
You are welcome!
hi ty for sharing this info. Itried on vite project and seems not to work, keep getting error "cant create building folder". idk if that the reason, or maybe cause i got some imports on index.html file from Jquery js files on my project.
Thanks for sharing your knowledge its very helpful for me ❤
One question if i want to redeploy my code with new changes then how to do can you please help me
bro u got my sub
thanks a lot Ajesh! one question though, if i make some changes to the project locally then i do only have to run "npm run deploy" command or repeat the whole process so that my github code gets changed?
You just need to push the code to github
I am new to react and github . I have a question can we deploy private repo on github?
if we have multiple page navigation is this method works? i think here you deploy single page site
Working...Thanks
🥇Nice.
great tutorial, good job
this is amazing thank you very much
can i use siteground to deploy my react app ?? please answer me, THANK YOU
Bro thanks you helped a lot
Thanks man
Hey Ajesh, i have hosted the app on github however my images are not showing. I will appreciate a lot if you can help me out with how you created the path to the images
Worthy 🤗
Thanks it worked 👍
Glad I could help
Thank you so much !
You're welcome!
Well done bro.
aap kon sa copilot use karte ho auto complete k liye
Thanks sir, you are great!
You are most welcome
U are the best❤
This is amazing
if I do changes in my github repo it will reflect on my published website?
Nice presentation
Thank you for sharing!
My pleasure!
when i open github link it shows nothing it is black screen what would be the reason?
Thank you so much
this video helped me . thanks .
Glad it helped
can you help me if i use YARN? what should i do, i try every step and its all error
Thank you very much effective Information it's working
Great
Awesome tutorial, im learning react in a very starter stage, so if i update the code i should commit first then redeploy?
Yes you do