i had many more files, like style.css, some js files and pictures in the website, if any of you have tried, it was not working. The fix is instead of /root in hosting pages, select /docs
After deploying it shows completely blank nothing is displayed ....same code when we run on vs code it works but when we deploy it shows white page not displaying anything
this is so helpful and saved my time some people have not the skill to deliver an information with this efficient time thank for respecting my time 😍 may Allah guide and bless you
This video just help my troubleshoot my bug. 😂😂😂 Was trying to create an analyst website portfolio for my projects but I couldn’t figure it out as my repository wasn’t publishing on GitHub. I followed your step by step instructions and it worked…. I love you ❤❤❤… don’t mind me, I can be a little dramatic 😂😂😂
Thank you. I took a free course on JS, but the video they sent us to explain the deploy process wasn't very helpful. I appreciate the explanation on the procedure. Regards!
Hello, I'm having an issue where I can only see the description of my page that I committed, but not the actual page itself. I'm using EJS, CSS, and JavaScript. Can anyone help me?
The express code will not execute on this environment. The Github pages option is only for Front End code. You will need a different platform like Heroku
thank you I followed your instruction but when I go on the website I can see the name of the depositary and " at the top, how can I get rid of It please ?
Typo probably? Just basing it off of your comment... If not then maybe try checking some parts of your code, such as style.css or script.js if there is something wrong there (wouldn't be the case if the html file is properly set up). Or lastly just the settings in your GitHub page... What you want to put in here Same edit: Checked the other comments, you can try renaming your main HTML page as "index.html" to see if it works. 👍
AchhA Hai..!! But I have a Question..!! Agar Php website ko GitHub pages ke through hame live karvana ho with database to vo ham kese kare..?? Uske upar ek video banao
Hello I'm very mew to programming and github, and this might be a dumb question but how is it that your website has a login and option to register(which I assume would store user data in a db somewhere) when you can only host a front-end website on github? I'm just a little confused and would like some clarification if it's possible
this stuff is too complex for me, takes every bit of me sometimes to comprehend some of the topics and concepts in sft engg, is it supposed to be like this. whats your experience??
oh yes definitely it happens. This just means that computer science and being developer is a very new experience for you (same for me) and can feel sometimes overwhelming but just keep going. This is true for every new experience especially if it is isolated as compared to your previous experiences.
It is perfectly normal, someday you will understand that almost nobody knows everything, they take the job, learn the requirements and finish the job without any prior knowledge and the process can be quite fun.
Hello madam , I deployed my React web app in github pages and tried to send data to my localhost server on my pc , it worked on my pc but can't send data from smartphone . I have cors in java spring still backend not getting data from my react webapp
Hi If your React web app is able to send data to your localhost server on your PC but not from your smartphone, there are a few things you can check and adjust to resolve the issue. Here are some steps you can take: Update CORS Configuration in Spring: In your Java Spring backend, ensure that CORS (Cross-Origin Resource Sharing) is properly configured to allow requests from your React web app, including requests from your smartphone. You can do this by adding the @CrossOrigin annotation to your controller methods or by configuring CORS globally in your application. Make sure to set the allowed origins, methods, and headers appropriately. @RestController @CrossOrigin(origins = "your-react-app-url", maxAge = 3600) public class YourController { // Your controller methods } Also, Make sure you are using the correct URLs in your React web app to send requests to your Java Spring backend. Instead of using "localhost" in your API requests, use the actual IP address or hostname of your PC. This ensures that your smartphone can reach your PC's server. const apiUrl = "your-pc-ip-address:your-server-port/api/endpoint"; // Use apiUrl in your fetch or axios requests You can also Check Smartphone Browser Console: Open the console in the browser on your smartphone and check for any CORS-related errors. This can provide insights into what might be going wrong. Use browser developer tools on your smartphone to inspect network requests. Check the request and response headers for any CORS-related issues.
As much as I know, GitHub Pages is designed to host static websites, which means it's primarily suitable for hosting front-end content. GitHub Pages may not provide server-side processing or the ability to run back-end code.
Yes, you can create multiple GitHub Pages for different projects within the same GitHub account. Each GitHub Pages site is associated with a specific repository and can be configured independently.
Thanks , my issue wasn't directly related to this video , but you did few steps on build and deploy page which actually fixed my issue.
how much it took for DNS ropogation?
Thank you for the quick and brief demo
i had many more files, like style.css, some js files and pictures in the website, if any of you have tried, it was not working. The fix is instead of /root in hosting pages, select /docs
i tried to deploy my react project, but its just showing me empty page ,, what should i do ??
@@rohitk472 i got the same problem too, have you found the solution?
@@rohitk472 same question
I get error on .... Build with Jekyll
How can I solve this issue ?
yo this one works, thanks stranger
Thank you, you're the bomb, I followed this video without sound and everything worked out. I'm impressed, keep it up.
thanks, this actually helped a lot, moving from replit to github was really confusing
:|
In my case it is only showing the resporitry name and description, when website got live
For me also how you fix this
Same for me
You found any solution?
@@indianAakash I found the solution rename the main html file into index.html and upload it next try to build
@@gopick1791 thanks man, I'll try it
thanks it cleared all my confusions specially that yellow dot
it worked !!! whoowohooo
Dont forget to name your home file to "index.html" or you get 404 error
I keep getting the 404 error, what do you mean by your "home" file? how do i do that? help please!! lol
After deploying it shows completely blank nothing is displayed ....same code when we run on vs code it works but when we deploy it shows white page not displaying anything
this is so helpful and saved my time some people have not the skill to deliver an information with this efficient time thank for respecting my time 😍 may Allah guide and bless you
i am looking this kind of video for long time. you share this and solve my problem. thanks a lot for sharing.
Tysm, the steps were very simple, staright to the point
This video just help my troubleshoot my bug. 😂😂😂
Was trying to create an analyst website portfolio for my projects but I couldn’t figure it out as my repository wasn’t publishing on GitHub. I followed your step by step instructions and it worked….
I love you ❤❤❤… don’t mind me, I can be a little dramatic 😂😂😂
I am your 910th subscriber
Thank you so much. It was helpful. I just published my page watching this video.
Wow … wonderful … really liked it 👍🏻
Thank you. I took a free course on JS, but the video they sent us to explain the deploy process wasn't very helpful. I appreciate the explanation on the procedure. Regards!
For this video I subscribed your channel...
Thanks a lot ❤
Thank u so much! Clear and on point tutorial.
Straight to the point, thank you.
Simple and detailed 10/10
Hello, I'm having an issue where I can only see the description of my page that I committed, but not the actual page itself. I'm using EJS, CSS, and JavaScript. Can anyone help me?
what if my application is written in react.js and express js?
The express code will not execute on this environment. The Github pages option is only for Front End code. You will need a different platform like Heroku
thanks, this video cleared all my confusions
Thank you so much! Your video really helped me
So it doesn't need any back end? Will this website work?
i guess its only for static websites?
After saving my url to the page is not showing.
thank you I followed your instruction but when I go on the website I can see the name of the depositary and " at the top, how can I get rid of It please ?
Typo probably? Just basing it off of your comment... If not then maybe try checking some parts of your code, such as style.css or script.js if there is something wrong there (wouldn't be the case if the html file is properly set up). Or lastly just the settings in your GitHub page...
What you want to put in here
Same
edit: Checked the other comments, you can try renaming your main HTML page as "index.html" to see if it works. 👍
AchhA Hai..!! But I have a Question..!! Agar Php website ko GitHub pages ke through hame live karvana ho with database to vo ham kese kare..?? Uske upar ek video banao
Amazing, Thank you so very much. Perfect content!
Hello I'm very mew to programming and github, and this might be a dumb question but how is it that your website has a login and option to register(which I assume would store user data in a db somewhere) when you can only host a front-end website on github? I'm just a little confused and would like some clarification if it's possible
it has by using html and css. Data store in DB. And backend work to bridge front end to back end.
no its not showing link . its showing an error what should i do?
thanks u help me upload my first project !
Thank you so much. Brief and very informative.
this stuff is too complex for me, takes every bit of me sometimes to comprehend some of the topics and concepts in sft engg, is it supposed to be like this. whats your experience??
oh yes definitely it happens. This just means that computer science and being developer is a very new experience for you (same for me) and can feel sometimes overwhelming but just keep going. This is true for every new experience especially if it is isolated as compared to your previous experiences.
It is perfectly normal, someday you will understand that almost nobody knows everything, they take the job, learn the requirements and finish the job without any prior knowledge and the process can be quite fun.
Thank you so much for this video which is very helpful for me ❤
incredibly helpful, thank you!
Thank you, it solved my problem in a short time))))
ANy method for making private the but publish the website?
You have helped me alot,
Thankyou so much
a good start...keep it up
Thank you. Just what I needed
Thank you AKruti
Thanks for your brief demo
Perfect. Thanks, man!
It shows error in build with jekyll what should i do now ?
do anybody know hot to make the domain into you repository name instead of your user name
I am experiencing the same problem. I cant set the CNAME of my website because the link made by github includes my directory
Hello madam , I deployed my React web app in github pages and tried to send data to my localhost server on my pc , it worked on my pc but can't send data from smartphone . I have cors in java spring still backend not getting data from my react webapp
Hi
If your React web app is able to send data to your localhost server on your PC but not from your smartphone, there are a few things you can check and adjust to resolve the issue. Here are some steps you can take:
Update CORS Configuration in Spring:
In your Java Spring backend, ensure that CORS (Cross-Origin Resource Sharing) is properly configured to allow requests from your React web app, including requests from your smartphone.
You can do this by adding the @CrossOrigin annotation to your controller methods or by configuring CORS globally in your application. Make sure to set the allowed origins, methods, and headers appropriately.
@RestController
@CrossOrigin(origins = "your-react-app-url", maxAge = 3600)
public class YourController {
// Your controller methods
}
Also, Make sure you are using the correct URLs in your React web app to send requests to your Java Spring backend.
Instead of using "localhost" in your API requests, use the actual IP address or hostname of your PC. This ensures that your smartphone can reach your PC's server.
const apiUrl = "your-pc-ip-address:your-server-port/api/endpoint";
// Use apiUrl in your fetch or axios requests
You can also Check Smartphone Browser Console:
Open the console in the browser on your smartphone and check for any CORS-related errors. This can provide insights into what might be going wrong.
Use browser developer tools on your smartphone to inspect network requests. Check the request and response headers for any CORS-related issues.
how about if the language is framework? and have databases?
404 file not found when trying to upload my folder for a portfolio.
Try to upload your code using the terminal
this thing is not publishing my html page. It is publishing a markdown document.
how do i put the code in the repository?
Very well done 👍
does this work with other coding languages like python? i not hosting a website but I need host the code somewhere 24/7
How to live link unpublished to published???
Thank you,
Very helpful!
In my case it’s not showing anything like that when I open pages
Wow! Very great video
bang makasih banyak sebelumnya tapi gua mau nanya, kenapa web gua gak bisa di publish yak? malah error jadinya
Can host only front-end website? Or both(front-end and back-end) ?
As much as I know, GitHub Pages is designed to host static websites, which means it's primarily suitable for hosting front-end content. GitHub Pages may not provide server-side processing or the ability to run back-end code.
@@akritigoswamiLetsCode Okay👍
does the main html file have to be called main.html?
i only see an h1 that reads the name of the repository and another one that reads the content of the readme
U saved my life thanks
Thanks. Though I got a 404 error when I clicked the page
Informative video ❤
THANKS FOR SAVING MY TIME
THANKS, JUST WHAT I NEEDED
simple, and what i need
I cànt even find the pages option in setting
Bro, when i did with custom domain, it shows the repository name at the top of the portfolio website i created, how do i remove it??
maybe
@@TechnoFusionTech yep.. Removed it
Does they charge if i didn''t unpublish the site??
Now its not free anymore.. it asking to upgrade
yeah for me also the same
I had the same issue, the repository has to be public to host the site for free, maybe yours was private like mine
Thanks, it's really help
thank you so much this was useful
How can I republish again? it doesn't work after i accidentally unpublished my page pls help
Hi, follow the same procedure as shown in the first half of the video !
After doing this my image is still missing after publishing
Thanks ma'am! u da best
You make it seem so easy! haha yet somehow I still can't make it work
Thank you so much. On point
Very nice. Excellent
After sometimes changed some code in it will it reflect in host too??
How can we see the link to the hosted website again?
Thankyou. It worked..
Can I deploy website that developed base on vue.js framework?
Why is it showing an error like file not found
make sure the first html page ( or the only one if it's a one page) is named index.html
A GREAT INFORMATIVE VIDEO
thanks you are a life saver
Does it works if there are more then 1 html files linked to each other🤔🤔💬
Good information 👍
I m getting Jekyll conversion error even though I am not using Jekyll themes
SOURCE PUT ROOT
Thank You for this video.
when opening the link is shows the readme file on the browser
???
can I create multiple github pages for different projects?
Yes
Yes, you can create multiple GitHub Pages for different projects within the same GitHub account. Each GitHub Pages site is associated with a specific repository and can be configured independently.
love u mam heart full thanks fron INDIA
yellow button is not showing pls reply mam
Amazing Great video
thanks its very helpfull
why mine said page not found
or file not found error 404
THANK YOU SO MUCH.
Will this site change if I add some new code?