Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Hosting a Website with GitHub Pages!
You have completed Hosting a Website with GitHub Pages!
Preview
GitHub provides a simple hosting solution called GitHub Pages that lets others view your repository like any other website.
Resources
Video review
- GitHub Pages does not work with sites that use a server-side language, because it can't execute languages like Ruby, Python, or PHP.
- GitHub Pages only works with static websites containing HTML, CSS, and JavaScript files.
- There are two types of websites you can store on GitHub Pages: User Pages and Project Pages.
- User Pages are stored in a special repository dedicated to your GitHub Pages files.
- As a GitHub user, you’re entitled to one free user website per account.
- With Project Pages, each repository in your GitHub account can have its own website.
- Project Pages sites are served under a subpath that matches a repository's name.
- User Pages sites do not display a subpath in the URL.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this workshop I'm gonna show you how
to host your website on GitHub Pages
0:00
for free.
0:03
Did you know you can do that?
0:04
By now you know that Git is a version
control system commonly used for
0:05
collaborating on open source projects.
0:09
And GitHub is a website that lets
you host Git repositories online, so
0:12
that others can see your projects,
use them and work on them with you.
0:15
For example, with GitHub,
0:20
you can share your code with other
people on the web community.
0:21
Or if you work in an organization, you can
have an organizational GitHub account,
0:24
where all the developers put their code,
pull down the current code for
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up