Week 1 - Setup, tools, CLI and Git

Intro to the CLI

Files and folders

Paths

Basic scripting

Node.js Setup

VSCode setup

Intro to Git

Intro to Github

Markdown

Practice

Assignment

Back to core program

Content

Let’s get practical

Exercise 1 - Folder structure

Create a small bash script that creates the following folder and file structure

myapp
├── data
├── scripts
│   └── code.js
└── notes.txt

At the end of the script show the contents of the myapp folder.

Exercise 2 - A game in CLI

Check out Bashcrawl - a game that teaches you the command line! Follow the instructions to create a binder, then click on Terminal. Play around and read the scrolls, they'll explain everything you need to know.

Exercise 3 - Git practice

  1. Fork any interesting open source repository to your Github account.
  2. Clone the fork of the code to your computer.
  3. Make a small change to one of the files.
  4. Commit and push the changes to your Github fork.
  5. Check if it worked.

Note: There is no need to create a Pull request to the owner of the repository. This is just a practice.

Exercise 4 - Markdown

Replicate the following cookie recipe in Markdown:

https://github.com/HackYourFuture/Learning-Resources/blob/main/core-program/week-1/recipe.md

Click on “Code” to see the actual markdown and compare to your own version


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 **

CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*