USC CSCI 571 - Ungraded Assignment: Homework Page on GitHub Pages

Unformatted text preview:

Ungraded Assignment Homework Page on GitHub Pages Students need to establish a directory folder in which they can store web pages for the following 1 A table of hyperlinks to homework assignments this ungraded assignment 2 A storage area for holding web resources for homework Assignment 1 This semester we will be using a private repository in GitHub Pages to store your table of exercises and Assignment 1 pages To use GitHub Pages you must have a GitHub account This note lists all the steps to set up a GitHub account and the additional steps to create the GitHub repository and your pages used in Assignment 1 1 Sign up for GitHub Many students already have set up a personal GitHub account The standard repositories of a free GitHub account are public and therefore cannot be used to store private pages Nicely GitHub Pages allow students that have signed up for the GitHub Student Developer Pack to create a private repository containing your web site If you already have a GitHub account you can jump to section 2 Sign up for GitHub Student Develop Pack Otherwise we actually recommend you sign up for a new GitHub account by going to https github com Click Sign up in to top right of the page and the following dialog is displayed Pick a username enter your username usc edu as the Email address and create a 1 Password Then click on Sign up for GitHub The Welcome to GitHub page is displayed In Step 2 Choose you plan leave the personal plan selection to unlimited public and click on Continue In Step 3 Tailor your experience select School projects and click on Submit 2 You will be redirected to the GitHub dashboard Feel free to Read the guide and Explore GitHub You should be receiving an e mail asking you to verify your e mail address Click on the Verify email address hyperlink Once you e mail address is verified you will receive an additional Welcome e mail If you get this your GitHub account is properly set up Notice the email Welcome will indicate your GitHub username 3 2 Sign up for GitHub Student Developer Pack To sign up for the GitHub Student Developer Pack go to this URL https education github com pack On the web page that is displayed click on Get the Pack The Sign in to GitHub dialog is displayed 4 Enter your GitHub username and password Click Sign in When properly authenticated you GitHub Education Benefits page is displayed Click on Get student benefits and follow the instructions One of the benefits provided when signing up for the GitHub Student Developer Pack is that your GitHub Pages repository see Section 3 will be private for free If you do not sign up for the GitHub Student Developer Pack only public repositories will be free 3 Sign up for GitHub Pages 5 To sign up for GitHub Pages go to this URL https pages github com The GitHub Pages startup page is displayed Scroll down and select User or organization site if not already selected as shown below Next click on the hyperlink create a new repository as shown below 6 The GitHub Create a new repository dialog is displayed The owner will be prefilled For Repository name enter username github io where username is your GitHub username You can find it when clicking your icon in the top right of the window Select Private for the type of repository and click Create repository The next steps to follow are different depending on which git client you use a terminal window or the GitHub Desktop app We include snapshots using GitHub Desktop 7 Steps 2 though 5 are described at https pages github com and involve the following 2 Clone the repository Click the Set up in Desktop button When the GitHub desktop app opens save the project 3 Create an index file Grab your favorite text editor and add an index html file to your project 4 Commit and publish Enter the repository commit your changes and press the publish button 8 5 View your homepage Fire up a browser and go to https username github io 4 Create the Table of Exercises The next step is to upload the table of exercises We are providing you with a sample table at http csci571 com hw hw2 ScrambleThisTable html Download this page to your local machine You MUST change the file name to the name your personal scrambled name For example the table of exercises should be named using a name that cannot be easily guessed such as sd45fh67 html After you downloaded the file that file add it to your project on GitHub Pages commit and publish and you are done The sample table is shown below 9 Table of Exercises Notice that the hyperlinks to the various exercises point to non existent files and URLs You will have to replace them with the actual web page names and URLs of your exercises either on GitHub Pages or in the cloud As you complete each homework assignment you should add the URL of the homework to the appropriate location in the table listed as Link to Homework see Figure Table of Exercises In this way the TA grader can easily locate your homework assignments 5 Install and use Git optional If you do not already have Git installed on your laptop instructions to download Git are available here https git scm com downloads Documentation on Git is available here https git scm com doc There are numerous tutorials online on how to install Git These are my favorites Atlassian s BitBucket Install Git tutorial with step by step instruction on how to install Git on a MacOS Windows and Linux platforms https www atlassian com git tutorials install git Linode s How to Install Git on Mac tutorial with instruction on how to install Git with Homebrew MacPorts and the Package Installer https www linode com docs development version control how to install git mac After a successful Git install you can just follow the create and push instructions in the Code page mentioned above Her is an example showing the output you will see on your screen Notice in bold the CLI commands 10 echo homerwork 1 roadster2020 README md git init Initialized empty Git repository in Users marcopapa Desktop GitHub571 git git add README md warning LF will be replaced by CRLF in README md The file will have its original line endings in your working directory git commit m first commit master root commit ff55c43 first commit 1 file changed 1 insertion create mode 100644 README md git remote add origin https github com usc csci571 homerwork 1 roadster2020 git git push u origin master Username for https github com roadster2020 Password for https roadster2020 github com enter password or token when using 2FA Counting objects 3 done Writing


View Full Document

USC CSCI 571 - Ungraded Assignment: Homework Page on GitHub Pages

Download Ungraded Assignment: Homework Page on GitHub Pages
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Ungraded Assignment: Homework Page on GitHub Pages and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Ungraded Assignment: Homework Page on GitHub Pages 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?