Note: There are not instructions in this file for every step of the assignment.
- Click on the Fork button in the upper right-hand corner of this webpage.
- Click to select your GitHub account in the modal window that appears by clicking on your profile picture. This will create a copy of this code under your account. NOTE: You will immediately be navigated to your copy on GitHub.
- Click on the green Clone or download button.
- Click on the clipboard icon button to copy the Git URL for this repo.
- Open the Terminal application on your computer. This can be found in Applications > Utilities > Terminal.
- Type
cd ~/prime/tier1
in the Terminal application and press the RETURN (or ENTER) key to navigate to your tier1 folder. NOTE: If you named your folders differently thanprime
andtier1
, you will have to change the above command to match the names of your folders. - Type
git clone
. IMPORTANT: Leave a space after the word "clone". - Press COMMAND and V keys at the same time to paste your Git URL next to the words you just typed.
- Press the RETURN (or ENTER) key to execute the typed command. This will create a local copy of your GitHub-hosted repo.
- Type
cd prime-pw-week-1-assignment
to navigate into your local Git repo.
- Open the index.html file in Chrome. NOTE: There are a few ways to do this, but one way is to type and execute
open assignment/index.html
in the Terminal. | intentionally blank
IMPORTANT: All of the following steps will occur in Terminal. Before doing the steps below, type pwd
and RETURN (or ENTER). A file path will display in the terminal. The end of the path should say prime-pw-week-1-assignment
. If it doesn't, navigate to the folder containing this week's assignment.
- Type
git add .
and press the RETURN (or ENTER) key. This tells Git that you want to stage your file updates. - Type
git commit -m "completed week 1 assignment"
and press the RETURN (or ENTER) key. This creates a snapshot of your changes (a commit) that can be referenced later. - Type
git push -u origin master
to send your updates to GitHub.
- Go to https://primeacademy.io/student.
- Login with your email address and password. You will see a dashboard with your assignments.
- Click on the Tier 1-Week 1 link. A form will appear in a modal window.
- In a new browser tab, go to the GitHub repo for your completed assignment.
- Copy the URL in the browser bar.
- Return to the browser tab with the Prime assignment app.
- Paste your URL into the Git Repo input field, don't worry about the
site
input field for now, you can leave it blank. - Optionally, add any comments you'd like to make to instructors in the Comments input field.
- Click the Save button to complete submission of the assignment.