GRC 338: Resources

GitHub Pages tutorial (part 2)

This is the part 2 of a two‑part tutorial. Make sure you have read the part 1 of this tutorial.

Publishing your work on GitHub Pages

  1. First, go to the assignment instructions and copy the URL after the first slash (/).

    Assignment instructions for the “Restaurant menu” assignment.

    Assignment instructions for the “Restaurant menu” assignment with “grc338/restaurantmenu” selected.

  2. Now, log in GitHub and go to the repository named username.github.io.

    GitHub page for the root for “grc-ribeiro.github.io”.

  3. Click on Create new file.

    Dimmed GitHub page for the root for “grc-ribeiro.github.io” with the words “Create new file” highlighted.

  4. Paste the part of the URL that you copied from the assignment instructions in the first step of this short tutorial as the name of your file you’re creating.

    “grc338” is the folder, and “restaurante menu” is in the box for the new file name.

  5. Include a new slash (/) at the end of it, so GitHub understands it’s a folder.

    Both “grc338” and “restaurante menu” are folders, and the new file name is blank.

  6. Create the file index.html

    Both “grc338” and “restaurante menu” are folders, and “index.html” is the new file name.

  7. Scroll down and click on Commit new file.

    A green button reads “Commit new file”

  8. Click on Upload files.

  9. Drag and drop your files or click on choose your files to navigate to them on your computer.

  10. click on Commit new file again.

  11. Before you mark as done on Canvas, you must check the list of links and click on your name to make sure it’s working.