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 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 😂😂😂
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
@abbymelendres5866 no brow it is actually link was generated it is asking for the customized domain ..... So random domain with we provided name already link will be generated check it properly it is on top ....I found yesterday
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
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?
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 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 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
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.
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. 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!
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
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
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
:|
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
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 😂😂😂
thanks it cleared all my confusions specially that yellow dot
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
Same problem
@abbymelendres5866 no brow it is actually link was generated it is asking for the customized domain ..... So random domain with we provided name already link will be generated check it properly it is on top ....I found yesterday
Try changing the part of /roots to /docs next to branch name
Thanks a lot I had this problem and tried many ways now its working 😊
but it needs subscription ryt???
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
I really appreciate you making this video, it was so helpful.
When I click the link, it's showing a 404 file not found. How to fix it?
rename your html file as "index.html"
Akriti this really helped me, thank youu very much ❤
I live in Haiti and I didn’t go to school to learn html and I am still learning . I learn by doing. After html I’m gonna learn CSS.
After saving my url to the page is not showing.
Thank u so much! Clear and on point tutorial.
no its not showing link . its showing an error what should i do?
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?
does the main html file have to be called main.html?
It shows error in build with jekyll what should i do now ?
Tysm, the steps were very simple, staright to the point
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
i am looking this kind of video for long time. you share this and solve my problem. thanks a lot for sharing.
Wow … wonderful … really liked it 👍🏻
For this video I subscribed your channel...
Thanks a lot ❤
Hii, how can i host nested folder which has index.html and some other files
Thank you so much. It was helpful. I just published my page watching this video.
Simple and detailed 10/10
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 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.
404 file not found when trying to upload my folder for a portfolio.
Try to upload your code using the terminal
thanks, this video cleared all my confusions
how about if the language is framework? and have databases?
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
So it doesn't need any back end? Will this website work?
i guess its only for static websites?
how do i put the code in the repository?
Amazing, Thank you so very much. Perfect content!
Straight to the point, thank you.
In my case it’s not showing anything like that when I open pages
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.
Why am I getting an Error 404?
thanks u help me upload my first project !
does this work with other coding languages like python? i not hosting a website but I need host the code somewhere 24/7
Thank you, it solved my problem in a short time))))
How to live link unpublished to published???
How can we see the link to the hosted website again?
when opening the link is shows the readme file on the browser
???
After sometimes changed some code in it will it reflect in host too??
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
I am your 910th subscriber
ANy method for making private the but publish the website?
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
i only see an h1 that reads the name of the repository and another one that reads the content of the readme
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.
Thanks, this indeed helped me.
Does it works if there are more then 1 html files linked to each other🤔🤔💬
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
After doing this my image is still missing after publishing
why mine said page not found
or file not found error 404
Thank you so much! Your video really helped me
Thank you so much for this video which is very helpful for me ❤
You have helped me alot,
Thankyou so much
Will this work if I'm using API in my js?
incredibly helpful, thank you!
I m getting Jekyll conversion error even though I am not using Jekyll themes
SOURCE PUT ROOT
this thing is not publishing my html page. It is publishing a markdown document.
Perfect. Thanks, man!
Thank you so much. Brief and very informative.
a good start...keep it up
bang makasih banyak sebelumnya tapi gua mau nanya, kenapa web gua gak bisa di publish yak? malah error jadinya
It's showing me the 404 file not found
I cànt even find the pages option in setting
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
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 !
for me it showing 404 error ....why?
does this work for a react app, if i have an build folder ?
U SHOUD HAVE NODE FOR RUN REACT APP
yellow button is not showing pls reply mam
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.
Does they charge if i didn''t unpublish the site??
Will this site change if I add some new code?
thank you this video is so so so useful love u
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!
Thank you I deploy my first website
Thanks for your brief demo
then how to republish it?
Informative video ❤
theres no yellow dot
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.
why it says error ?
Save option ain't available
Thank you,
Very helpful!
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👍
but i got error deploy error
Why my website showing it's dangerous and unsafe
Very well done 👍
Wow! Very great video
Not showing settings
Thank you. Just what I needed