π§π½βπ€βπ§π½ day-plan
βπ½ Register
Energiser
Every session begins with an energiser. Usually there’s a rota showing who will lead the energiser. We have some favourite games you can play if you are stuck.
- Traffic Jam: re-order the cars to unblock yourself
- Telephone: draw the words and write the pictures
- Popcorn show and tell: popcorn around the room and show one nearby object or something in your pocket or bag and explain what it means to you.
Youtube: Welcome to MigraCode Barcelona π
Goals and expectations
Preparation
Review the presentation in the class. Make sure a Word Cloud app is available. Everyone has to have their computers with internet and access to Slack.
Introduction
The Software Development Course of Code Your Future (CYF) has a particular goal: you get a job in tech! To achieve this, we have expectations of every trainee, and you will also have expectations about CYF. So we are now doing some exercises to align them.
Goals and expectations presentation and exercise
π― Goal: Agree with the goals and expectations of the Code Your Future Software Development Course (80 minutes)
Open this presentation and follow the slides.
General Weekly Availability
π€π½ FeedbackLearning Objectives
Preparation
Copy this General Weekly Availability
Spreadsheet
for your cohort and share it with everyone. If no one has done this yet, take the initiative and do it.
- Someone in your cohort needs to bookmark this spreadsheet on your cohort channel in Slack.
- Someone in your cohort also needs to do a brief post on Slack linking people to this spreadsheet.
This is one file for the cohort, not one per person.
Introduction
Sharing our general availability means that you and your peers can identify roughly who is available and when.
Why is this important?
Because you can then identify pairs and groups that can help each other, and helping each other is good for the community and your relationship, and makes us feel good about ourselves.
Add your general availability
π― Goal: Share your weekly availability with your peers (10 minutes)
- Open to the cohort’s General Weekly Availability spreadsheet.
- Add your name to the next line that is available in column A.
- Use the same colour as the example to identify when you are available.
- Leave non-available slots in grey. (Examples of Non-available slots: school pick-up/drop-off times, eating times, individual studying, part-time job, resting time, exercising times, mental health focus, etc. You do not have to detail what you are doing, but consider these when adding your availability)
Tip: Copy and paste one of the current coloured cells to your cell, this way you don’t have to figure out what’s the correct colour to use.
Identify pairs per week
π€π½ FeedbackLearning Objectives
Preparation
Introduction
Looking into the General Weekly Availability that you filled in before the induction, we will use each other’s availability and identify the best pairs to work together.
To work together, you must be available at similar times - not for the whole week, but for the number of hours needed for prep or coursework in pairs.
PS: Itβs important to pair with different people in your cohort. There is more diversity, there better your professional competencies will evolve.
Creating pairs for the coursework
π― Goal: Update the shared file in which trainees can organise teamwork rotas (5 minutes)
On the Fundamentals section of the course, you should have created a rota spreadsheet of the form βXXX X Rotaβ, replacing the “X”’s with the name of your region and cohort number. For example, “NW 6 Rota” for the cohort in North West and cohort 6.
Double check this rota spreadsheet is bookmarked to your cohort channel and post a link to the spreadsheet on Slack
One trainee needs to update this Google sheet βXXX X Rotaβ on the cohort drive
- Create a new tab on the spreadsheet called βPairs Inductionβ
- The new tab must have two columns, one with the title βPair 1β and another for βPair 2.β
- Post a message on the cohort Slack with the shared spreadsheet and the instructions on what to do (see below)
This tab will be the rota of the coursework.
Create pairs considering trainees' availability
π― Goal: Connect the people’s availability defining the most effective pairs to work together (10 minutes)
Multiple tasks need to be done to make this exercise happen, but not all of them should be done by one person:
- How many hours of coursework has to be done in pairs? Double check the issues that have a π«±πΏβπ«²π½ Pairs label on this module’s backlog
- Open the “General Weekly Availability” spreadsheet.
- Identify who could pair together, considering their availability.
- Someone should add these pairs to the other spreadsheet (exercise 1).
Lunch
Take your lunch break and be back in an hour!
Git workshop π
Git Day 1
Git is a tool for software development that you will likely come to rely on in your software development journey. It might seem complex at first but with continuous practice, you will begin to disentangle the complexity.
π‘ Objective
This workshop will deepen your understanding of Git. By the end of this workshop, participants will:
- Navigate a GitHub repository using the VSCode interface
- Fork and clone a repository, create branches, and commit changes using the VSCode interface
- Articulate the difference between a fork and clone
- Explain their mental model of the working tree and the staging area
Setup
- Break out into groups of 5/6 ( depending on volunteer and trainee numbers )
- Use these instructions as a guide to check your understanding, resolve misconceptions and develop your understanding
This workshop starts with a recap based on this week’s prep material…
Exploring GitHub repositories
Recap activity πΉοΈ
- Trainees do this section in pairs
- β²οΈ 10 mins
Let’s recap some of the things from earlier in the week.
Visit the following repository on GitHub: https://github.com/CodeYourFuture/cyf-demo-repo
Answer the following questions:
a) How many commits are there in the cyf-demo-repo project?
b) Who committed on Oct 31, 2020?
c) What changes did illictonion make in the commit titled “Revert changes accidentally pushed in the past”?
d) How many files were added in the first commit? What were the names of the files?
e) What is the hash for the first commit in the history?
f) What is Claire Bickley’s favourite food?
π§΅π£οΈ group discussion
- Group discussion
- β²οΈ 10 mins
- A volunteer will need to facilitate this section
A volunteer can facilitate this group discussion by going through the questions above and asking pairs for their feedback. If pairs are unsure / not quite accurate then spend a small amount of time addressing misconceptions.
Remember to ask around for feedback.
Creating a fork π΄
πΉοΈ Recap activity
- Trainees do this section in pairs
- β²οΈ 5 mins
Use the guidelines from the prep section of this week to create a fork.
- On one person’s computer, fork this repo: https://github.com/CodeYourFuture/cyf-demo-repo
- π Double-check the URL of your forked repo. How can you tell the fork was successfully created?
Group discussion/demo 𧡠π£οΈ
- Groups discussion
- β²οΈ 5 mins
- A volunteer will need to facilitate this section
A volunteer will need to navigate and let the group guide them in creating a fork.
π Cloning a repository
πΉοΈ Recap activity
- Trainees do this section in pairs
- β²οΈ 5 mins
π Check your understanding
Before continuing, try answering the following:
β what is the difference between a fork and a clone.
Remember to check your answer before continuing.
- Clone your fork of
cyf-demo-repo
to your local machine. - Open this local repository using VSCode.
- Use
pwd
in your terminal to check you’re in the right place.
Group discussion/demo 𧡠π£οΈ
- Group discussion/demo
- β²οΈ 5 mins
- A volunteer will need to facilitate this section
A volunteer will need to navigate and let the group guide them in following through the steps in the previous recap activity.
π³ Creating a branch
πΉοΈ Recap activity
- Trainees do this section in pairs
- β²οΈ 10 mins
Next, create a local branch called week-1-workshop
Group discussion/demo 𧡠π£οΈ
- Group discussion/demo
- β²οΈ 10 mins
- A volunteer will need to facilitate this section
Take a break for 10 mins… π«
Part 2 - New skills π§° - Committing and pushing πΈ
Learning objectives
π Double-check you’ve been committing to your branch week-1-workshop
branch and not your main
branch.
However, our remote fork only has a main branch:
In other words, we have not added our local branch onto the remote fork on GitHub.
To do this, we must push our branch onto GitHub.
push means adding local work to a remote GitHub repository.
π Figure out how to push your local branch to the GitHub repository using the Source Control interface in VSCode.
π Figure out how to check the week-1-workshop
branch is on the remote fork.
Group discussion
- Group discussion/demo
- β²οΈ 5 mins
- A volunteer will need to facilitate this section
A volunteer will need to navigate and let the group guide them in following through the steps in the previous recap activity.
𧡠Tying things up
Now is some time to wrap up and discuss some of the key concepts from this week.
π£οΈ Discussion in pairs
- Trainees discuss in pairs
- β²οΈ 10 mins
In your pair, discuss the following questions/tasks:
- What is a commit? Explain why we need to make commits when we’re developing a project.
- Explain why we store repositories on GitHub.
- Describe the purpose of VSCode.
- Explain the difference between Git and GitHub.
- Explain why developers use branches.
- Explain the difference between a fork and a clone.
- What does the branch name
origin/main
mean instead of justmain
? - Check out the following git repository diagram below:
How many commits are in common between week-1-feature
and main
?
π£οΈ Group discussion
- Discuss the questions together as a group. Go round and get feedback from each person in the group.
Retro: Start / Stop / Continue
activity</span>
activity</span>
A retro is a chance to reflect. You can do this on a FigJam (make sure someone makes a copy of the template before you start) or on sticky notes on a wall.
- Set a timer for 5 minutes. There’s one on the FigJam too.
- Write down as many things as you can think of that you’d like to start, stop, and continue doing next sprint.
- Write one point per note and keep it short.
- When the timer goes off, one person should set a timer for 1 minute and group the notes into themes.
- Next, set a timer for 2 minutes and all vote on the most important themes by adding a dot or a +1 to the note.
- Finally, set a timer for 8 minutes and all discuss the top three themes.