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
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.
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. 👍
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.
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
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 😂😂😂
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.
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.
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
Thank u so much! Clear and on point tutorial.
what if my application is written in react.js and express js?
thanks it cleared all my confusions specially that yellow dot
Thank you so much. It was helpful. I just published my page watching this video.
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
Wow … wonderful … really liked it 👍🏻
It shows error in build with jekyll what should i do now ?
For this video I subscribed your channel...
Thanks a lot ❤
thank you so much for the nice demonstration however one note i have is that its taking bit too long to load everything is that normal?
Amazing, Thank you so very much. Perfect content!
thanks, this actually helped a lot, moving from replit to github was really confusing
:|
does this work with other coding languages like python? i not hosting a website but I need host the code somewhere 24/7
i am looking this kind of video for long time. you share this and solve my problem. thanks a lot for sharing.
In my case it’s not showing anything like that when I open pages
thanks, this video cleared all my confusions
Thank you so much. Brief and very informative.
how do i put the code in the repository?
Simple and detailed 10/10
After sometimes changed some code in it will it reflect in host too??
thanks u help me upload my first project !
Why is it showing an error like file not found
when opening the link is shows the readme file on the browser
???
404 file not found when trying to upload my folder for a portfolio.
Try to upload your code using the terminal
So it doesn't need any back end? Will this website work?
i guess its only for static websites?
Thanks for your brief demo
Thank you,
Very helpful!
How can we see the link to the hosted website again?
a good start...keep it up
why mine said page not found
or file not found error 404
Very well done 👍
Thank you so much for this video which is very helpful for me ❤
You have helped me alot,
Thankyou so much
Thank you. Just what I needed
Thank you, it solved my problem in a short time))))
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.
Does it works if there are more then 1 html files linked to each other🤔🤔💬
Will this site change if I add some new code?
Does they charge if i didn''t unpublish the site??
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. 👍
Very nice. Excellent
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
Thankyou. It worked..
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.
bang makasih banyak sebelumnya tapi gua mau nanya, kenapa web gua gak bisa di publish yak? malah error jadinya
yellow button is not showing pls reply mam
After doing this my image is still missing after publishing
thank you so much this was useful
for me it showing 404 error ....why?
i only see an h1 that reads the name of the repository and another one that reads the content of the readme
Save option ain't available
I m getting Jekyll conversion error even though I am not using Jekyll themes
SOURCE PUT ROOT
Wow! Very great video
then how to republish it?
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
Good information 👍
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
but i got error deploy error
this thing is not publishing my html page. It is publishing a markdown document.
THANK YOU SO MUCH.
A GREAT INFORMATIVE VIDEO
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 😂😂😂
Is this work for telegram bot?
Thank you so much. On point
thanks you are a life saver
thank you it's worked .
simple, and what i need
THANKS, JUST WHAT I NEEDED
Thank you AKruti
Easy n simple😊
does this work for a react app, if i have an build folder ?
U SHOUD HAVE NODE FOR RUN REACT APP
Why my website showing it's dangerous and unsafe
does the main html file have to be called main.html?
index.html, otherwise it would not show up
Thank You Very Much!
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 !
is this permanent?
THANKS FOR SAVING MY TIME
thank you for to the point video
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.
theres no yellow dot
Thank You so much
Excellent
thanks alot man!!
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👍
Thank you!
Thankyou Aunty
Well done.
love u mam heart full thanks fron INDIA
thanks its very helpfull
when ı go to pages ı cannot see that you see in the page can you help me a bit
does it say "Upgrade or make this repository public to enable Pages" if yes than you have to pay for a subscription.
👌🌹well done 👍
thank you for making this video
Thanks!
Now its not free anymore.. it asking to upgrade
yeah for me also the same
Thank you so much for this video. It saved my time.
thanks for your help
Big uo...wozaa
thank you very much