No video

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

  Рет қаралды 88,429

Code Commerce

Code Commerce

Күн бұрын

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 жыл бұрын
This is exactly what I was looking for. Clear, short and straight forward instructions. This is very useful, thank you!
@amibangladesh24
@amibangladesh24 Жыл бұрын
Thanks, Yes! I finally got this React project live after trying it for the last 8 hours.
@codecommerce
@codecommerce Жыл бұрын
Awesome!
@mahvishsadaf3499
@mahvishsadaf3499 5 ай бұрын
i was stuck for 2 days ad your one video really helped me a lot sir , thank you
@larissastack399
@larissastack399 11 ай бұрын
Literally saved my ass in my project. Thank you for this amazing tutorial. I will absolutely be subscribing.
@mahvishsadaf3499
@mahvishsadaf3499 5 ай бұрын
me too
@m.y.m401
@m.y.m401 Жыл бұрын
this is great bro. short and precise!!!
@Metalvain4
@Metalvain4 Жыл бұрын
So straight forward, thank you! Worked first try! Subbed!
@mahvishsadaf3499
@mahvishsadaf3499 5 ай бұрын
same
@KazeChannelKC
@KazeChannelKC 7 ай бұрын
what if i use pnpm?
@manumore345
@manumore345 Жыл бұрын
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 ай бұрын
Make sure to go to settings, pages, then change the branch from main to gh_pages and press save.
@ryanjtc
@ryanjtc 3 ай бұрын
Thank you so much for this video! Much appreciated.
@206_golf
@206_golf 2 жыл бұрын
Do you know what to do if that link only displays the readme file?
@craigjohnson8279
@craigjohnson8279 Жыл бұрын
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 Жыл бұрын
mine only shows the readme file as well
@darkwoodmovies
@darkwoodmovies 10 ай бұрын
Holy shit they made this so simple. Love this.
@omageprosper9673
@omageprosper9673 10 ай бұрын
short and sweet, thanks man
@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.
@sthulasivasan7516
@sthulasivasan7516 Ай бұрын
what if i have frontend and backend seperatly
@gangsternerdvevo4378
@gangsternerdvevo4378 23 күн бұрын
I got an enoent error after trying to run deploy idk what the issue is
@elvispereira070
@elvispereira070 6 ай бұрын
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?
@kevz_codes
@kevz_codes 5 ай бұрын
Does this work if I used Vite for my React Project?
@kunalrajput661
@kunalrajput661 4 ай бұрын
kzbin.info/www/bejne/qpiQiZquYtGkjq8
@vladpryima235
@vladpryima235 Жыл бұрын
Hello from Ukraine bro! I`m wasted two days before I found your three-minute video! Thank you. Like-button is pressed :)
@codecommerce
@codecommerce Жыл бұрын
Awesome dude!
@chrisvaughan2462
@chrisvaughan2462 Жыл бұрын
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?
@prudhvidharreddymedapati7451
@prudhvidharreddymedapati7451 Жыл бұрын
same problem, have you found the solution
@paoro814
@paoro814 9 ай бұрын
same, how to fix?
@waifufx
@waifufx 2 жыл бұрын
Got nice videos, wish to see the channel soar.
@codecommerce
@codecommerce 2 жыл бұрын
Thank you Odelola! Working on more videos :)
@music_all_night
@music_all_night 8 ай бұрын
We loved the video thanks for sharing :-)
@hadisaadeh4448
@hadisaadeh4448 2 жыл бұрын
very helpful and useful content, THANK YOU!
@codecommerce
@codecommerce 2 жыл бұрын
Glad it was helpful!
@user-zy6ok5sh2y
@user-zy6ok5sh2y Жыл бұрын
Awesome, thank you!
@codecommerce
@codecommerce Жыл бұрын
Thanks jay
@jen-7064
@jen-7064 10 ай бұрын
Very useful and concise
@thinkerhuh
@thinkerhuh 5 ай бұрын
good video, but unfortunately it didn't work for me
@SuperoO2
@SuperoO2 8 ай бұрын
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
@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
@wendtoinissaka
@wendtoinissaka 4 ай бұрын
For me, it's my readme page it shows me
@vladitargovski
@vladitargovski Жыл бұрын
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 ай бұрын
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.
@ahmedabdelmeguid1131
@ahmedabdelmeguid1131 Жыл бұрын
you are professional ..thanks a lot for your videos
@itsrino9851
@itsrino9851 9 ай бұрын
thank you sir!
@alblanquicett
@alblanquicett 5 ай бұрын
Thank you man!
@vishnuraj.g9946
@vishnuraj.g9946 Жыл бұрын
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.
@alejandrocamacho7739
@alejandrocamacho7739 Жыл бұрын
Wow, really helpful ❤Thx a lot :)
@jaywilliamsapar7933
@jaywilliamsapar7933 Жыл бұрын
This is so straight forward thanks🔥🔥🔥🔥
@codecommerce
@codecommerce Жыл бұрын
Thanks Jay!
@WhiteShadow2929
@WhiteShadow2929 10 ай бұрын
solid video thanks
@gabidrg4008
@gabidrg4008 2 жыл бұрын
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 жыл бұрын
Are you getting any errors?
@gabidrg4008
@gabidrg4008 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 жыл бұрын
@@gabidrg4008 have you resolve it? If yes then how because I am also facing same problem
@gabidrg4008
@gabidrg4008 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 Жыл бұрын
@@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)
@pasghikhami1342
@pasghikhami1342 Жыл бұрын
incredible video!
@spazzels50
@spazzels50 11 ай бұрын
gh pages never works for nextjs for me always get different errors
@user-ml1bl4gv6j
@user-ml1bl4gv6j Жыл бұрын
i have a question lets say i updated some lines of codes how can i update the repo ?
@aboubakarbarro9048
@aboubakarbarro9048 3 ай бұрын
thank😉
@alfaloverss3116
@alfaloverss3116 5 ай бұрын
Hii man i face the problem gh page is recognis internal external command
@Rob-bz2rp
@Rob-bz2rp 2 жыл бұрын
Thank you
@codecommerce
@codecommerce 2 жыл бұрын
You're welcome
@MorningstarMiracle-wi4uq
@MorningstarMiracle-wi4uq 3 ай бұрын
Do anyone have the github sheet he use i can get mine done ..
@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??
@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
@lilcroissant9201
@lilcroissant9201 Жыл бұрын
I have the same problem
@ziadamer7621
@ziadamer7621 2 жыл бұрын
can u make a react app in a advanced way like a small project but have a lot of feature ?
@codecommerce
@codecommerce 2 жыл бұрын
You got it!
@ziadamer7621
@ziadamer7621 2 жыл бұрын
@@codecommerce thanks sir ♥️
@saadeddhaher1706
@saadeddhaher1706 Жыл бұрын
hey i only have 3 Files on my github page static and 2OTHERS
@ambitious1z
@ambitious1z Жыл бұрын
awesome
@encabsss
@encabsss Жыл бұрын
Does this works with TypeScript?
@codecommerce
@codecommerce Жыл бұрын
Sure does!
@tarun-prakash
@tarun-prakash Жыл бұрын
Thankyou
@user121304
@user121304 6 ай бұрын
I followed everything u did and still it shows just the readme and not my website
@user-bf4fs7pk5h
@user-bf4fs7pk5h 6 ай бұрын
same problem
@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.
@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
@array7an628
@array7an628 6 ай бұрын
but why she give me 404 error ???
@yotsusan_machi
@yotsusan_machi Жыл бұрын
thanks kyu sir
@codecommerce
@codecommerce Жыл бұрын
Thank you!
@fjj813
@fjj813 2 жыл бұрын
🙏🏼
@ayman8509
@ayman8509 2 жыл бұрын
does this work with next.js
@codecommerce
@codecommerce 2 жыл бұрын
I would recommend checking out vercel! Deploy a Next JS Application - Easy kzbin.info/www/bejne/jJTQYpSkeMioi5I
@draz2112
@draz2112 Жыл бұрын
Thank you very much. Greetings from Croatia and subscribe from me.
@hamidmammadli6360
@hamidmammadli6360 Жыл бұрын
gh-pages dont download
@krsna13
@krsna13 11 ай бұрын
refresh it and boom your site is gone
@neilkumar3626
@neilkumar3626 5 ай бұрын
skibidi toilet
@hanspen5978
@hanspen5978 Жыл бұрын
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
How To Deploy A React App To Github Pages (Simple)
10:00
PedroTech
Рет қаралды 238 М.
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,6 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 34 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 6 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,4 МЛН
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,4 МЛН
Деплой SPA (Vite + React + Router) на GitHub Pages
37:23
Игорь Антонов — про JavaScript и разработку
Рет қаралды 6 М.
Junior vs Senior React Folder Structure - How To Organize React Projects
16:16
The Best Way to Host & Deploy a React Application
11:00
JavaScript Mastery
Рет қаралды 246 М.
Pavel Durov of Telegram: WhatsApp Sucks
20:09
TechCrunch
Рет қаралды 923 М.
Как создать React JS проект и загрузить его на Github Pages
8:18
Типичный Веб Разработчик
Рет қаралды 6 М.
do you know enough to get HIRED???
10:11
Code Commerce
Рет қаралды 3 М.
Host React.js App for FREE in 5 mins with GitHub Pages
6:17
James Grimshaw
Рет қаралды 94 М.
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 56 М.