glassysky Posted July 21, 2015 Share Posted July 21, 2015 I'm new.Yesterday I made my first game,it can run on my local webserver (wamp) ,but when I take it to the github,something wrong happened,I don't know how to fix itthis is my git project address : https://github.com/glassysky/glassysky.github.ioand you can open by : http://glassysky.github.io/please tell me what's wrong with it,thx Link to comment Share on other sites More sharing options...
Mickawesomesque Posted July 21, 2015 Share Posted July 21, 2015 For this to work you need a gh-pages branch containing the files you wish to use for your website. You may want to look here: https://help.github.com/articles/creating-project-pages-manually/And for more informations: https://help.github.com/categories/github-pages-basics/ EDIT: Oups, wrong answer! It's actually working, but since you put your index.html in the game folder, you can't access it at http://glassysky.github.io/ but at http://glassysky.github.io/game/So you might want to move the index.html to the root of your repo or read the help pages I linked in my initial answer to make a website for each of your games/projects (better, since it looks like what you kinda wanted to do in the first place by putting your game in its own folder). Link to comment Share on other sites More sharing options...
Recommended Posts