![]() ![]() IMPORTANT: In order for your website to work on Github pages, it is very important that your primary HTML file be named index.html. And because I am on a Mac, I will be following instructions for the Mac terminal. Because using the terminal is an important part of being a developer. However, I highly recommend getting comfortable in it. And sooner is better than later.Īs you’ll notice in the official direction set, there are a few ways to get your files onto Github. Meaning you don’t have to use the CLI.īut, in my opinion, using the terminal is the fastest and easiest way. AKA the command line.ĭon’t worry about learning the command line right now if you’re just starting out. The directions above are showing how to get files on your computer onto Github using your terminal. Now, if you’re brand new, all of this may look scary. ![]() You are basically putting the files that are on your local computer into a folder on Github using git. (Again, think about it like a folder attached to your Github account.) This page is explaining how to get your files ( your HTML and CSS) into the repository. Here, wp-quiz is tied to the wp-quiz repository. Because laurencebradford is my username.Īn example project site would be: /wp-quiz/ The difference is this: you have unlimited project sites, but only one user site. When it comes to making a Github Page, there are two options: a project site or a user/organization site. Step 2: Understand The Difference Between User Sites and Project Sites If you already have an account, then log in. You’ll give your name, username, email address, and set a password. The video starts from the absolute beginning. It is perfect to watch if you are especially new to HTML and CSS.Ĩ Steps To Getting Your Site Live on Github Pagesįirst, here is the link with more information about Github Pages and setting one up: Step 1: Sign up for / Login to GitHub AccountĬreating a Github account is like signing up for Facebook or Twitter. To go along with this tutorial, I created a video to follow. Or willingness to use it in a very easy way :) Command line: AKA CLI, AKA Terminal, AKA Console.Github account: which I’ll show you how to make if you don’t already use Github-it’s like creating any other account online.Basic HTML and CSS know-how: the demo files I will be using are very simple.Text editor: I use Sublime Text 2, but there are other options.Computer/laptop: I will be using my Macbook Pro.To get started, this is what you’ll need: Required Tools to Get Your Site on Github Pages ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |