Using Github Pages


(Matt) #1

Hi-
I’m sure I’m missing something basic but is it possible to serve up a site made with HYPE on Github Pages? What other files (if any) would I need. I tried uploading the index file and the resource folder to a repository but that didn’t seem to work.

Thanks in advance!
Matt


I need to upload and share a temporary URL address
#2

Do you have an existing repository?


(Matt) #3

I do yes. I followed these directions:
http://blog.teamtreehouse.com/using-github-pages-to-host-your-website


#4

You have to put your index.html into a branch called gh-pages.

Here is a way to do it via GitHub rather than the command line if that helps.


(Matt) #5

Thanks @DBear yes, I’ve done that via the command line.


#7

I also need help hosting a Hype website on GitHub pages. I believe the problem occurs in the html file src location for the .hyperesources folder once it is committed to GitHub. If anyone has any experience with this it would be really appreciated.