Publish A React App To GitHub Pages - Less Than 3 Minutes

Поделиться
HTML-код
  • Опубликовано: 29 авг 2024
  • I made this cryptocurrency app in React JS just a few days ago and I thought it would be fun to publish it to github pages fo I can access it from my phone or anywhere else. It's super easy to publish a React App to Github Pages and only takes a few minutes. If you want to see how I built this app then you can find that video in the link below.
    Build this crypto app in React:
    • Build A React JS Websi...
    Github Repo:
    github.com/fir...
    Connect with me on IG:
    / fireclint
    🔥 My Coding Equipment 🔥
    Logitech MX Wireless Keyboard - amzn.to/3xKPFiN
    Logitech MX Master 2S Wireless Mouse - amzn.to/3O5WmRD
    SAMSUNG 49-Inch Gaming Monitor - amzn.to/3mvUy8M
    Shure MV7 USB Podcast Microphone - amzn.to/3O00nqG
    Mic Boom Arm - amzn.to/3NHn6YU
    Monitor Desk Light Bar - amzn.to/3xzKlyj

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

  • @mak3115
    @mak3115 2 года назад +20

    This is exactly what I was looking for. Clear, short and straight forward instructions. This is very useful, thank you!

  • @amibangladesh24
    @amibangladesh24 Год назад +6

    Thanks, Yes! I finally got this React project live after trying it for the last 8 hours.

  • @mahvishsadaf3499
    @mahvishsadaf3499 5 месяцев назад +3

    i was stuck for 2 days ad your one video really helped me a lot sir , thank you

  • @larissastack399
    @larissastack399 11 месяцев назад +2

    Literally saved my ass in my project. Thank you for this amazing tutorial. I will absolutely be subscribing.

  • @m.y.m401
    @m.y.m401 Год назад +2

    this is great bro. short and precise!!!

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

    Hello from Ukraine bro!
    I`m wasted two days before I found your three-minute video! Thank you.
    Like-button is pressed :)

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

    So straight forward, thank you! Worked first try! Subbed!

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

    Holy shit they made this so simple. Love this.

  • @manumore345
    @manumore345 Год назад +5

    for some reason when I do this, the link takes me to the readme file instead of my project, am I doing something wrong?

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

      same, did you find the solution?

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

      Make sure to go to settings, pages, then change the branch from main to gh_pages and press save.

  • @waifufx
    @waifufx 2 года назад

    Got nice videos, wish to see the channel soar.

    • @codecommerce
      @codecommerce  2 года назад

      Thank you Odelola! Working on more videos :)

  • @206_golf
    @206_golf 2 года назад +5

    Do you know what to do if that link only displays the readme file?

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

      In your GitHub repo, go to Settings, and then select Pages.
      Under Build and deployment, change the Branch from Main to gh-pages. It takes about 5-min after that and then you should see your deployed website.

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

      mine only shows the readme file as well

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

    short and sweet, thanks man

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

    Thank you so much for this video! Much appreciated.

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

    Friend, I'm from Brazil, my name is Elvis, I'm a front end and I loaded my react project through the visual studio code terminal and only the folder with an arrow appears on github, could you help me?

  • @WandaMcCrae-mh4xt
    @WandaMcCrae-mh4xt 3 месяца назад

    Thank you for this concise demonstration! The weird thing is when I follow these steps, my GitHub page only shows my README file, not my build.

    • @user-jt6ec4rq4y
      @user-jt6ec4rq4y 2 месяца назад

      I'm having this same problem! Have you found a solution yet?

    • @WandaMcCrae-mh4xt
      @WandaMcCrae-mh4xt 2 месяца назад

      @@user-jt6ec4rq4y Yes! I don't remember exactly what the issue was, but as a first step, make sure to select gh-pages in the Deployment setup on GitHub when ready to deploy.

  • @kevz_codes
    @kevz_codes 5 месяцев назад +2

    Does this work if I used Vite for my React Project?

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

      ruclips.net/video/tg-Xgx-lqXM/видео.html

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

    We loved the video thanks for sharing :-)

  • @hadisaadeh4448
    @hadisaadeh4448 2 года назад +1

    very helpful and useful content, THANK YOU!

  • @gangsternerdvevo4378
    @gangsternerdvevo4378 25 дней назад

    I got an enoent error after trying to run deploy idk what the issue is

  • @thinkerhuh
    @thinkerhuh 5 месяцев назад +2

    good video, but unfortunately it didn't work for me

  • @user-zy6ok5sh2y
    @user-zy6ok5sh2y Год назад +1

    Awesome, thank you!

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

    Not working! I'm getting this "Getting Started with Create React App
    This project was bootstrapped with Create React App." instead of my page. . . What to do?

  • @jen-7064
    @jen-7064 10 месяцев назад

    Very useful and concise

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

    Hey so I published my site and it works nicely but the images on my local one broke I don’t know how 😢

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

      Did u managed to find the solution for this? I’m having the same issue

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

    you are professional ..thanks a lot for your videos

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

    Wow, really helpful ❤Thx a lot :)

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

    incredible video!

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

    Thank you so much! This is the best and most concise tutorial for this. However, I have a fullstack app and I want to grab the items for my database. I connected my github to cyclic, but the link for cyclic is only for the backend and not really connecting to my routes

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

    what if i have frontend and backend seperatly

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

    what if i use pnpm?

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

    For me, it's my readme page it shows me

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

    Thank you man!

  • @p.praneeth5184
    @p.praneeth5184 3 месяца назад

    is it free of cost for life time access to the hosted page??what is the platform that is used in this video for hosting the application??

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

    solid video thanks

  • @vishnuraj.g9946
    @vishnuraj.g9946 Год назад +2

    Showing a white screen after deployment and also 404 error in console

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

      same

    • @vishnuraj.g9946
      @vishnuraj.g9946 Год назад

      @@thevpshow7859 if you get any solution please comment it🙃

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

      same problem, bruh(

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

      @@fokspoks same issue.

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

      @@vishnuraj.g9946 did you manage to find a solution? I have the same issue.

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

    What I run "npm run deploy" I get an error ENOENT: no such file or directory, stat 'C:\Programming\3DPortfolio\build' has anyone ran into that?

    • @levihinnenthal9636
      @levihinnenthal9636 10 месяцев назад +1

      same problem! still trying to solve, did you find anything?

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

      @@levihinnenthal9636 In the "deploy" script change "gh-pages -d build" to "gh-pages -d dist"

    • @TonyGuizar-bb1yo
      @TonyGuizar-bb1yo 5 месяцев назад

      my issue was that my build was located in a folder called "dist" not "build". Updating the build path in package.json fixed it.

  • @itsrino9851
    @itsrino9851 9 месяцев назад +1

    thank you sir!

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

    gh pages never works for nextjs for me always get different errors

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

    Hii man i face the problem gh page is recognis internal external command

  • @gabidrg4008
    @gabidrg4008 2 года назад +7

    Hi man! I ve done exactly the same but for some reason it shows me a blank page at the end :( instead of the whole site

    • @codecommerce
      @codecommerce  2 года назад +1

      Are you getting any errors?

    • @gabidrg4008
      @gabidrg4008 2 года назад +2

      @@codecommerce for some reason it returns what s in the “public” folder of the app , not the rest of the files like normaly should

    • @11.naghmamahtab.27
      @11.naghmamahtab.27 2 года назад +5

      @@gabidrg4008 have you resolve it? If yes then how because I am also facing same problem

    • @gabidrg4008
      @gabidrg4008 2 года назад +2

      @@11.naghmamahtab.27 i saved a copy of the project and i ran it again. I gave up on gh pages, couldn t find a fix. I think netlify it s easier to deploy the project on

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

      @@gabidrg4008 true but you cant go to different pages(that's what happened to me, i couldnt go to other pages because of the url)

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

    This is so straight forward thanks🔥🔥🔥🔥

  • @user-ml1bl4gv6j
    @user-ml1bl4gv6j Год назад

    i have a question lets say i updated some lines of codes how can i update the repo ?

  • @MorningstarMiracle-wi4uq
    @MorningstarMiracle-wi4uq 3 месяца назад

    Pls man can you put the link of the cheat sheet pf the github page .. in the description or comment to get along with script stuff

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

    Might be a bit outdated but I did every step and it keeps trying to clone into my .git file it looks like then I get a Pemission denied (public key) when I try to deploy one of my personal projects

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

    thank😉

  • @ziadamer7621
    @ziadamer7621 2 года назад +1

    can u make a react app in a advanced way like a small project but have a lot of feature ?

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

    hey i only have 3 Files on my github page static and 2OTHERS

  • @MorningstarMiracle-wi4uq
    @MorningstarMiracle-wi4uq 3 месяца назад

    Do anyone have the github sheet he use i can get mine done ..

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

    Does this works with TypeScript?

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

    awesome

  • @Rob-bz2rp
    @Rob-bz2rp 2 года назад +1

    Thank you

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

    I followed everything u did and still it shows just the readme and not my website

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

    Still i can't get a clear solution to how you'd update the deployed site, if you tried to push code to github or even rebuild again with deploy it won't work you'll still have the old version

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

      You can run the build and push the changes.

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

      @@codecommerce thanks, after many attempts I’ve managed to do it.

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

      ​@@amr8113please how did you figure this out? If you can still remember.

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

    but why she give me 404 error ???

  • @fjj813
    @fjj813 2 года назад +1

    🙏🏼

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

    When I deploy on GH Pages,I have the whitescreennnn :(

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

      thanks for the feedback peter - ill keep it down

  • @tarun-prakash
    @tarun-prakash Год назад

    Thankyou

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

    thanks kyu sir

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

    Thank you very much. Greetings from Croatia and subscribe from me.

  • @ayman8509
    @ayman8509 2 года назад

    does this work with next.js

    • @codecommerce
      @codecommerce  2 года назад +1

      I would recommend checking out vercel! Deploy a Next JS Application - Easy
      ruclips.net/video/Vcm1anCcuU0/видео.html

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

    gh-pages dont download

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

    refresh it and boom your site is gone

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

    skibidi toilet

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

    404 likes, I dont wanna ruin it 😔

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

    Thanks man job opportunity popped up but I'm too broke to have a portfolio page but this will do just fine b