AurelioDeRosa / HTML5-API-demos

A repository where you can find information about many JavaScript and HTML5 APIs.
706 stars 177 forks source link

Please consider a gh-pages branch for github hosting. #1

Closed esteinborn closed 10 years ago

esteinborn commented 10 years ago

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

AurelioDeRosa commented 10 years ago

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.

esteinborn commented 10 years ago

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.