At the end of this lesson, you will be able to:
create a GitHub repo
create a Codespaces instance for this course
go over SSH keys
With a pencil and paper, answer the following questions:
What is the difference between Git and Github?
Why do we use GitHub organizations for in this course?
Describe in words what each of the following commands do in Linux.
a) pwd
b) ls
c) cd ..
logging into GitHub
read about Github repositories
watch "Creating a Github Repository"
create a Github repo for this day
read about SSH keys
creates a more secure password
used to connect your GitHub account to your instance
watch What is an IDE and What is it Used For?
a toolbelt for software developers
go over creating a Codespace IDE:
what is Codespaces? → a cloud-based integrated development environment (IDE) from GitHub
you MUST be logged into GitHub FIRST with your stu.ocsb.ca account!
at the top of the workspace, you will see a GitHub card with a Codespaces invitation link
before you click on this link, make sure you are logged into GitHub with your stu.ocsb.ca account!
click on the green button to "Authorize GitHub Classroom"
choose your name from the list
if your name and email are NOT there, please notify your teacher!
click on "Accept this assignment"
wait for the repository to set up
click on the refresh button
click on the link to create a Codespace
once inside the Codespace, scroll down and read the instructions on the page
it could take up to 10 minutes to build your server so be patient
as stated above, open a Terminal and run the following command:
sh ./setup.sh
follow the instructions and it should look as shown below
Note: it is VERY important that your GitHub username be IDENTICAL to the username on GitHub!
go to Your Profile to see your GitHub user name
after you have completed the above, it will generate an SSH key
copy the SSH key as shown below
this is our password key that connects our personal Codespace with our GitHub account
go to GitHub
click on your profile icon in the top right corner
click on Settings
on the left side panel click on SSH and GPG keys
click on New SSH keys
name the key "ICS3U Programming Codespace-01"
paste your SSH key that you copied above into the Key space
make sure to include your email!
click Add SSH Key
go back to your Terminal in your Codespaces and finish answering the questions as shown below
your Codespace should then be created
complete the Daily Assignment section in Hãpara Workspace for this day
if Hãpara is not working, make a copy of this document
move it to your IMH-ICS folder for this course
take a picture of your computer at home logged into the Codespaces home screen
make sure I can see your computer screen AND your entire computer setup
try coding "Flappy Birds"
once you complete all the tutorials, you will be able to personalize it to make it your own!