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?

Комментарии • 439

  • @AbhishekSingh-vl1dp
    @AbhishekSingh-vl1dp 11 месяцев назад +38

    bro didn't said a single world but completed my work !! bro is real superhero

    • @codewithajesh
      @codewithajesh  11 месяцев назад +1

      Thank you so much 😀

    • @rhh1090
      @rhh1090 5 месяцев назад

      Agreed! Thanks so much man.

  • @ismailmohamedosman3461
    @ismailmohamedosman3461 Год назад +13

    litterally trying whole day and i was actually gonna stop untill i saw this video really helped me thanks.

  • @gouthama9509
    @gouthama9509 8 месяцев назад +9

    Hey buddy, nice. I had a problem in Build and deploy. Your clear, neat video explained the steps very well.

  • @timilehinelijah9600
    @timilehinelijah9600 10 месяцев назад +5

    Thanks very much man.
    I've spent days trying to deploy my react app.
    I'm so glad I saw this.

  • @augustineedeh3565
    @augustineedeh3565 Год назад +4

    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.

  • @debarunsarkar3863
    @debarunsarkar3863 7 месяцев назад +1

    Gem video , i wasted my entire day and finally found this one.❤ thanks a ton mate.

  • @davidcopestakes7310
    @davidcopestakes7310 5 месяцев назад +1

    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!

    • @codewithajesh
      @codewithajesh  4 месяца назад

      You're welcome!

    • @mohdsameer2445
      @mohdsameer2445 3 месяца назад +1

      what were the difficulties you faced and did this solution helped you ? can we deploy and react website by using this ?

  • @alexalex-zh4ep
    @alexalex-zh4ep 11 месяцев назад

    Thank you good man. Really nice video. Short and clear!!! And It's working!

  • @jimhalpert878
    @jimhalpert878 Год назад +2

    Absolute Legend! Thank you

  • @nipnilrajdeka7128
    @nipnilrajdeka7128 2 месяца назад

    Thank you very much sir, I have watched lots of videos but not a single video helped me. Thank you 😊

  • @prashantjain3959
    @prashantjain3959 6 месяцев назад +1

    this is the only help full video on whole you tube content

  • @ganeshsaladi5932
    @ganeshsaladi5932 Год назад

    it is the cleanest tutorial i ever seen broh you earned a subscriber

  • @pritampatidar2964
    @pritampatidar2964 10 месяцев назад

    Bhai thank you so much, jitna bhi thanks bola Jaye km he aapke liye🙏🙏

  • @muhammadmanannasir1509
    @muhammadmanannasir1509 Год назад +22

    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.

    • @codewithajesh
      @codewithajesh  Год назад +1

      Glad I could help you ❤️

    • @muhammadmanannasir1509
      @muhammadmanannasir1509 Год назад

      ​@@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?

    • @35sanjay3csa7
      @35sanjay3csa7 Год назад

      ​@@codewithajesh i need this type video ❤

    • @a.y_u.s_h
      @a.y_u.s_h Год назад

      ​@@codewithajeshnpm run deploy is getting error

    • @blackpurple9163
      @blackpurple9163 10 месяцев назад

      ​@@codewithajeshworks with react+vite?

  • @AJAYKUMAR-os1du
    @AJAYKUMAR-os1du Год назад

    very thanks bhaiii...tin din se dimag kharab ho ra tha ...iss video ne help kariii🥲🥲🥲

  • @devanshurawat826
    @devanshurawat826 5 месяцев назад

    I spent more than 4 hours then got solution here. Now it worked Thanx.

  • @yurTherapizt
    @yurTherapizt Месяц назад

    Thank you brother, i was stuck on it for hours 🙏

  • @AnujYadav-dp1dy
    @AnujYadav-dp1dy 5 месяцев назад +1

    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

  • @yashkhare1786
    @yashkhare1786 6 месяцев назад +1

    Simple and Point to Point video for beginner and professional also, Great brother 🙌

  • @emilypapillon
    @emilypapillon Месяц назад

    I was struggling with this
    Thank you so much for the tutorial :D

  • @aloogobhi7065
    @aloogobhi7065 11 месяцев назад +5

    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

  • @rhh1090
    @rhh1090 5 месяцев назад

    This really helped me. Thanks so much dude! 👊

  • @rabiayousuf7318
    @rabiayousuf7318 9 месяцев назад

    Thanks for the Cooperation, it's very helpful and easy to understand.🙂

  • @Gibbb032
    @Gibbb032 6 месяцев назад +2

    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 ✔

  • @abhishekshinde6153
    @abhishekshinde6153 10 месяцев назад

    You made my day ❤. Its working completely ❤

  • @mrmiagi6052
    @mrmiagi6052 Год назад +3

    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

  • @kwenziwa
    @kwenziwa 3 месяца назад

    That was easy and simple. Thanks mate

  • @ShubhamSinghJapan
    @ShubhamSinghJapan 5 месяцев назад

    Thanks man !! It was really helpful :)

  • @barryazihuwa6168
    @barryazihuwa6168 18 дней назад

    Thank You. Amazing tutorial!!

  • @serezhakaushnjan8443
    @serezhakaushnjan8443 Год назад

    Thank you))) Wish you more subscribers!

  • @skillfulmind960
    @skillfulmind960 9 месяцев назад

    Aweeeeeeeeeeeeeeeeeeesome , Everything is very clear ...

  • @tirthrami9550
    @tirthrami9550 3 месяца назад

    Thank you Ajesh to make this video, it helped me a lot.

  • @souravbiswas7395
    @souravbiswas7395 11 месяцев назад

    thanks for the detailed explanation, continue to make more such videos

  • @erensia5048
    @erensia5048 Год назад

    Thank you so much it was really so easy to follow

  • @amarjeetgupta1456
    @amarjeetgupta1456 5 месяцев назад

    This is the exact video to host the react app on github, 👍

  • @PeterYurich
    @PeterYurich Год назад +2

    Well done! Laconism and usefullness! It's just I wanted to find! You have my subscription - I'm the 17-th)))))

    • @codewithajesh
      @codewithajesh  Год назад +1

      I had a monetized channel. It's adsense got banned. This is me restarting from scratch. Your subscription means a lot. Thanks

  • @wisdomochei
    @wisdomochei Год назад

    Thanks man. Although, on first trial it didn't work. I realized it was because of internet connection. It's working now 😁😁

  • @konstantinreut2577
    @konstantinreut2577 6 месяцев назад

    Thank you buddy! You really helped me a lot!

  • @coder_chandan
    @coder_chandan 9 дней назад

    Thanks bro ❤, this is super helpful for me😊

  • @Listen_It_Up
    @Listen_It_Up Месяц назад

    Thank You very much. Love from India!

  • @shobiav3903
    @shobiav3903 11 месяцев назад

    Thanks a lot!! This was so much helpful

  • @user-xy4rw3wf4z
    @user-xy4rw3wf4z 4 месяца назад

    Very nice without a single word its truly understandable and I deployed my app.... Thank u bro✨✨

  • @ashrafulmomenshuvo5344
    @ashrafulmomenshuvo5344 11 месяцев назад

    Awesome Brother.... & It's so easy then others, OMG!!!!

  • @ransilpinto8543
    @ransilpinto8543 3 месяца назад

    straight upto point, breaking my head since 9 hours nothing worked.. saw this video , and all set..!!
    🤣

  • @digo0203ify
    @digo0203ify 11 месяцев назад +4

    Depois de muitos tutoriais, este foi o único que deu certo.
    Obrigado pelo vídeo.

    • @GABRIELDOBT
      @GABRIELDOBT 9 месяцев назад

      passei por essa mesma situação mas agora deu certo 🙌🙌

    • @josevictor7182
      @josevictor7182 8 месяцев назад

      Aconteceu o mesmo comigo.
      Ufa finalmente achei.😌

  • @ftballhub
    @ftballhub 6 месяцев назад

    Thanks man. It worked!!

  • @rohitbagade9182
    @rohitbagade9182 8 месяцев назад +1

    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

  • @nickscopre726
    @nickscopre726 2 месяца назад

    Such a helpful video, thank you!!!

  • @karthikdasari19
    @karthikdasari19 10 месяцев назад

    Thank you soo much bro ,your video was really helpful

  • @aishwaryasahay8372
    @aishwaryasahay8372 10 месяцев назад

    clear and concise

  • @sagargiri1361
    @sagargiri1361 7 месяцев назад

    Thanks very much your video was to the point .

  • @praveend-ds4qx
    @praveend-ds4qx 11 дней назад

    great work man

  • @Liubov9876
    @Liubov9876 Год назад +1

    Thank you! Good video!

  • @nguyenhuuo5194
    @nguyenhuuo5194 4 месяца назад

    Thank you for helping me a lot! 😁

  • @arunjain7570
    @arunjain7570 Год назад

    best video to deploy on github

  • @ronityt2253
    @ronityt2253 3 месяца назад

    wow finally got some awesome video , thank you for your help

  • @thebach9231
    @thebach9231 5 месяцев назад

    Awesome video, thank you!!

  • @user-hn8oo7vr6q
    @user-hn8oo7vr6q Месяц назад

    Thank you very much, you are great!

  • @sunny0791
    @sunny0791 8 месяцев назад +1

    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

  • @bhavikpatel5195
    @bhavikpatel5195 6 месяцев назад +4

    in settings/pages , gh-pages branch is not showing

  • @nithinlycanz
    @nithinlycanz 4 месяца назад +1

    You're a saver buddy.

  • @golddeagle7
    @golddeagle7 Год назад

    This is master level tutorial thanks.

  • @bloodyrainday4944
    @bloodyrainday4944 4 месяца назад

    thanks man. your video helped me a lot

  • @GuilhermeOliveira-ny4md
    @GuilhermeOliveira-ny4md 4 месяца назад

    thaaaanks bro!!

  • @KarandashChannel
    @KarandashChannel 6 месяцев назад +2

    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?

  • @isaacdominic2896
    @isaacdominic2896 8 месяцев назад

    Thank you so much was so easy to understand

  • @sairamravuri2g1
    @sairamravuri2g1 Месяц назад

    Thank you very useful❤

  • @uraharakisuke5305
    @uraharakisuke5305 11 месяцев назад

    You earned a subscriber

  • @vuang5387
    @vuang5387 5 месяцев назад

    Very clear, thank you

  • @TheRomerxxvi
    @TheRomerxxvi 27 дней назад

    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.

  • @Pushpendrayadav-bv9wj
    @Pushpendrayadav-bv9wj 4 месяца назад

    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

  • @mizgduc1891
    @mizgduc1891 Год назад

    bro u got my sub

  • @ali_majaz
    @ali_majaz 5 месяцев назад

    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?

    • @codewithajesh
      @codewithajesh  5 месяцев назад

      You just need to push the code to github

  • @anuragagarwal9151
    @anuragagarwal9151 9 месяцев назад

    I am new to react and github . I have a question can we deploy private repo on github?

  • @jalithakheminda2902
    @jalithakheminda2902 2 дня назад

    if we have multiple page navigation is this method works? i think here you deploy single page site

  • @madhusn6395
    @madhusn6395 Год назад

    Working...Thanks

  • @khalidmohammed424
    @khalidmohammed424 Год назад

    🥇Nice.

  • @ezioken9148
    @ezioken9148 Год назад

    great tutorial, good job

  • @mattbug3696
    @mattbug3696 9 месяцев назад

    this is amazing thank you very much

  • @lounisagh
    @lounisagh Год назад

    can i use siteground to deploy my react app ?? please answer me, THANK YOU

  • @andriysachyk2934
    @andriysachyk2934 3 месяца назад

    Bro thanks you helped a lot

  • @ShwetankChandra
    @ShwetankChandra 5 месяцев назад

    Thanks man

  • @user-uw2ym8ur6g
    @user-uw2ym8ur6g 3 месяца назад +1

    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

  • @tharunkumar27
    @tharunkumar27 6 часов назад

    Worthy 🤗

  • @adrianCoding
    @adrianCoding 6 месяцев назад

    Thanks it worked 👍

  • @fosterfire3395
    @fosterfire3395 5 месяцев назад

    Thank you so much !

  • @MusangamfuraEmmanuel-rx3jr
    @MusangamfuraEmmanuel-rx3jr 8 месяцев назад

    Well done bro.

  • @Sohan_coding1
    @Sohan_coding1 2 месяца назад

    aap kon sa copilot use karte ho auto complete k liye

  • @dijistoreonline
    @dijistoreonline 5 месяцев назад

    Thanks sir, you are great!

  • @user-mp7ej9hw7x
    @user-mp7ej9hw7x 11 месяцев назад

    U are the best❤

  • @MehdiGi
    @MehdiGi 3 месяца назад

    This is amazing

  • @ShanuKhan-jx4xy
    @ShanuKhan-jx4xy Час назад

    if I do changes in my github repo it will reflect on my published website?

  • @kenkarateacademy5409
    @kenkarateacademy5409 Год назад

    Nice presentation

  • @leonciocastillo6433
    @leonciocastillo6433 6 месяцев назад

    Thank you for sharing!

  • @AryaArjun-cb6hr
    @AryaArjun-cb6hr 3 месяца назад +1

    when i open github link it shows nothing it is black screen what would be the reason?

  • @NinjaCoders
    @NinjaCoders 8 дней назад

    Thank you so much

  • @user-ek1ox5pk9m
    @user-ek1ox5pk9m 6 месяцев назад

    this video helped me . thanks .

  • @felixmarvelian6118
    @felixmarvelian6118 6 месяцев назад

    can you help me if i use YARN? what should i do, i try every step and its all error

  • @riyadhossain36
    @riyadhossain36 11 месяцев назад

    Thank you very much effective Information it's working

  • @eduardodudu5695
    @eduardodudu5695 5 месяцев назад

    Awesome tutorial, im learning react in a very starter stage, so if i update the code i should commit first then redeploy?