Website not displaying properly after publishing to GitHub pages - github

I made changes to a forked repository and served the website successfully on my desktop. However, after publishing the repository to GitHub pages, the website is not displaying properly.
I followed the steps in the GitHub pages documentation.
https://github.com/aolayeye/aolayeye.github.io
Website not displaying properly:
Website on local:

This not a simple html pages website, Your app is not detected by git hub. So only your index.html file is displayed.
Git hub servers are bit slower, So may be your static files are not displayed.
Suggestions - Use vercel.com for fast deployment and it's also beginners friendly.

Related

GitHub pages is showing my repos with a dangerous warning

While in chrome, GitHub pages is showing all my websites as dangerous 'Deceptive site ahead' when view the git hub pages deployment.
does anyone know what's causing this?
I’ve linked the repos below:
https://github.com/TomAk1993/Vanilla-Dice-Roller
https://github.com/TomAk1993/portfolio_website

Why can't I host my project on github pages?

I have a simple weather app using react I've built and pushed to Github. Everything works when I run it locally but when I try to host it on Github pages, I get a 404 error.
https://caseycling.github.io/weather-app/
I'm not sure what I did wrong as I took the same steps as with every other project I've succesfully deployed: went to settings and under Github pages, I chose master branch as the source. Initially, it was just displaying the readme but now it only displays a 404 error message. When I've googled this issue, some people are saying I need to move my folders to the root of the directory but I'm not sure how to do that exactly.
Here is the repo:
https://github.com/caseycling/weather-app/
My understanding is that in order to run a react app in github pages you need to setup the gh-pages plugin and have a special 'deploy' build script in package.json
https://itnext.io/so-you-want-to-host-your-single-age-react-app-on-github-pages-a826ab01e48
https://codeburst.io/deploy-react-to-github-pages-to-create-an-amazing-website-42d8b09cd4d
https://medium.com/the-andela-way/how-to-deploy-your-react-application-to-github-pages-in-less-than-5-minutes-8c5f665a2d2a
There are also apparently certain restrictions in what you can do with the router in github pages websites, but for a simple app it should be sufficient.

How to make changes to a site already hosted on GitHub Pages?

I hosted a site in Github pages by going to setting of my repo. But I wanna change the Title tag in HTML. I tried Pushing from my local machine, but the changes are not updated in the githubpages site.

Github pages hosted jekyll blog post loop not showing but pages are working

I created a jekyll blog on my computer and it's working pretty fine on localhost:4000. and then I created a github pages repo like username.github.io. then I uploaded my local jekyll site using github windows client. after all file syncked I reloaded my github page URL. then my jekyll blog popup. but there is a problem. that is my posts are not showing on front page. but other blog parts are showing and working. eg: pages are working. I didn't do any modification to any file on my blog.
here is my github repo screenshot:
here is my github repo screenshot
here is my github page look:
my github page look
If you publish a blog post dated 2016-02-12 17:21:45 -0800 it will be in the future until 2016-02-13 01:21:45 GMT. So github page and jekyll will not publish it except if you set future:true in your _config.yml.

Not able to see the webpage of the github repository

I am very new to github.
I pushed my repository into github.
And in settings page, they tell my site is published at
http://jerinzam.github.io/coi-site.
But that URL gives me a 404 page.
Can someone give some xplanation on this.
And also FYI my project uses MEAN stack
Thanks in advance
You have two problems:
GitHub won't run your site. It is only for static hosting, not Node.js hosting. It also doesn't support any databases, including MongoDB.
From the project pages documentation:
The gh-pages branch is used to build and publish Project Pages sites.
You have three branches, but none of them are called gh-pages:
gh-pa
gn-pages
master
This is exactly as above.
You can host your code repo on github, but the web link to that repo will literally be whatever it is in the browser.
Now if you are wanting to run your site, then try this - https://masteringmean.com/lessons/557-Setup-and-Getting-Started-Running-Your-Site
You will need to have the mongo server running before starting the server. Check this is running by typing $mongod
so just go to the directory then type $ node run.js