Resources Home

Git and Github Pages Using JAWS

JAWS documentation by Kestrel Verlager and page by Keita Ohshiro. Please email claire(dot)kv(at)nyu(dot)edu, if you have any feedback on this document!

Definitions

Git Set up

Github Website Steps

Go to github.com. Once the webpage is loaded, the first three items at the top of the page, as read by Jaws, are: The page title: "The world’s leading software development platform · GitHub" Skip to content [link] Homepage [link]

There are at least four quick ways to navigate to the sign up button:

If you click this Sign Up button, you will be popped right into the first edit field of a sign up form on a different page which is titled "Join GitHub." However, there is also a sign up form in the main region of this page. You can get to it by pressing either of two different quick nav keys, "q" to go to the main region of the page, or "h" to go to the first heading on the page. If you use the q key, you will hear Jaws say "Main region." If you use the h key, you will hear "Built for Developers (heading 1)." Whichever you choose, this will be the same line on the page. Using these quick nav keys are the fastest and easiest way to navigate the GitHub website.

Note about usernames: Think carefully about what you want as your username, as this will be one of the common ways that you are identified by others on GitHub, and it will also be used as part of the address for the URL which is associated with your GitHub account.

Complete the sign up form. This includes having to solve an audio captcha, but you can press the Control key to have the audio clip repeat.

If everything works, you will find a message that you need to verify your account from an email that has been sent to you. If you don't seem to have moved off the page with the form, check that there were no issues with using a username that has already been taken, or an email address that is already associated with another account. For more detailed information about your GitHub account, refer to Setting up and managing your GitHub account.

As soon as you have created your GitHub account, you will be asked if you want to take the GitHub "Hello World" tutorial, skip this step.

Creating a Github Page

  1. Use profile page as home page for orientation (eg. https://github.com/username)
  2. In the main region, locate the "Create new" button. You can get to Create new button by either skipping to Main, then Q to main, and then arrow up twice to get to create new, or with quick nav turned on, "B" and "create new" is the first button on screen.
  3. Select the button to expand the button menu and then select "new repository"
  4. You are now on a page with the title "Create a New Repository."
  5. Use the "Skip to content" link or press the quick nav q key to go to the main region of the page.
  6. You can also press the quick nav h key to go to the heading of the page, which says "Heading 1 Create a new repository."
  7. Next comes a list which is where you will fill out the information for your new repository (note: this means that, next time you visit this page, you can press the quick nav l key to jump right to this list). The first item in this list is a drop-down menu which allows you to designate the owner. By default, your account is filled in. You will hear: Owner: @Your username [button collapsed menu]. The next line only contains a slash symbol, and the line after that requests a name for the repository, followed by an edit field.
  8. By typing into this edit field, name your repo username.github.io, where username is your username (or organization name) on GitHub. If the first part of the repository doesn't exactly match your username, it won't work, so make sure to get it right.
  9. You can skip the rest of the items and select "create repository".
  10. Now switch over to the Command line interface.
  11. Go to the folder where you want to store your project. For example, when you want to store your project on your Desktop, type the following into the command line. (Note: You can confirm which directory you are in because the command prompt is the name of your current directory.)
  12. Clone the new repository you just created. Replacing the words username with your real username, type the following commands on the command line: After completing this step, Jaws says: Warning: you seem to have cloned an empty repository--ignore this message.
  13. Enter the project folder and add an index.html file:
  14. Add, commit, and push your changes:
  15. To close the command prompt app and its window, type "exit" (without the quotes).

Reference

  1. GitHub Pages which is what webpages are called on GitHub.
  2. Warning: GitHub Pages sites are publicly available on the internet, even if their repositories are private or internal. If you have sensitive data in your site's repository, you may want to remove it before publishing. For more information, see About repository visibility
  3. Creating a GitHub Pages Site
  4. Working with GitHub Pages
  5. GitHub Pages on GitHub Learning Lab: A free short seven-step online course for learning how to create and configure your own webpage
  6. Learn Version Control with Git: A free ebook for learning Git on the Tower website
  7. Setting up and managing your GitHub account
  8. GitHub Glossary: GitHub has created some of its unique terminology, so this glossary that defines those terms is very useful.
  9. Introduction to GitHub: Learning Lab course I took a different one of these Learning Lab courses and found it to be very manageable: you begin it online but the bot sends individual lessons to you through email.
  10. Searching for information on GitHub
  11. Git Handbook
  12. Creating, Cloning, and Archiving Repositories (This help doc provides much more detail than the Quick Start or Hello World tutorial)
  13. Creating a New Repository
  14. About readme files
  15. Writing and formatting on GitHub
  16. Getting Started with GitHub Pages
  17. Table of Contents
  18. Mastering Markdown Markdown is a lightweight and easy-to-use syntax for styling all forms of writing on the GitHub platform.