Please consider a gh-pages branch for github hosting.
esteinborn opened this issue · 2 comments
You can host this using gh-pages. create an index file (feel free to steal mine: https://github.com/esteinborn/HTML5-API-demos) in the master branch.
Then create a new branch, as a clone of master, call it gh-pages
.
Now it will be viewable as http://aurelioderosa.github.io/HTML5-API-demos
Hi @esteinborn . Is there any advantage for the users to have the demos running on the servers of GitHub instead of mine? I didn't see any difference but maybe I'm missing something.
Just a best practice. Plus you get all the benefits of GitHub's fast optimized servers.
It's mostly for other people. When they clone your repo, they can make their changes and then see them live on their own GH pages branch. Great for people who either don't have access to their personal servers where they are, OR don't have a personal server like you and I.