From 2617fce7ae6e6b29b75b51afd4c6cd0c46027a08 Mon Sep 17 00:00:00 2001 From: Clement Denis Date: Mon, 22 Feb 2021 16:55:28 +0000 Subject: [PATCH] add detailed instructions to the hello-there subject --- subjects/hello-there/README.md | 53 +++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/subjects/hello-there/README.md b/subjects/hello-there/README.md index 5b6f76af..82afe1c5 100644 --- a/subjects/hello-there/README.md +++ b/subjects/hello-there/README.md @@ -2,7 +2,58 @@ ### Instructions -Once you have installed the nesscesary tools, +#### Install `Scoop` *(windows)* or `Brew` *(mac)* + +Follow the instructions here: +- **scoop**: https://scoop.sh/ (windows) +- **brew**: https://brew.sh/ (mac) + +> Linux people, you should know how to handle this + + +#### Install `git`, `vscode` and `nodejs` + +```bash +# windows +scoop install git +git --version +scoop install nodejs +node --version +scoop bucket add extras +scoop install vscode +code --version + +# mac +# git should already be installed +git --version +brew install node +node --version +brew install --cask visual-studio-code +code --version +``` + +#### Configure git and vscode + +```bash +# Set your username and email +# (the double quotes "" are important) +git config --global user.name "Your name here" +git config --global user.email "your_email@example.com" + +# Tell git to use vscode +git config --global core.editor code + +# Add colors to the info, not important but fancy +git config --global color.ui true +``` + +> If you are adventurous, you can also setup your SSH key +> this will allow you to avoid typing your password everytime. + + +#### Write the code ! + +Once you have installed and configured the necessary tools, create a `git` repository with a `hello.js` JS file that display the text `Hello There` in the terminal.