From b253b6492b1e20f47f72680e5a6bf38b0bf8f727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Wed, 1 Sep 2021 18:09:53 +0200 Subject: [PATCH] Use installers instead of package manager --- subjects/hello-there/README.md | 65 ++++++++++++---------------------- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/subjects/hello-there/README.md b/subjects/hello-there/README.md index a4adf9dc..4edec47c 100644 --- a/subjects/hello-there/README.md +++ b/subjects/hello-there/README.md @@ -2,53 +2,33 @@ ### Installation -#### 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 -``` +For each programs, make sure you are downloading a version that works for your system -#### Configure git and vscode +#### Install `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" +- Download the installer https://code.visualstudio.com/download -# Tell git to use vscode -git config --global core.editor code +> If you already have and love a code editor, feel free to use it, +> but keep in mind that we will use VSCode as reference -# Add colors to the info, not important but fancy -git config --global color.ui true -``` +VSCode is a code editor, it will give you an interface to write, test and submit your code. + +#### Install `git` + +- Download the installer https://git-scm.com/downloads +- While installing, Git will ask a bunch of question, it is recommanded to changes those: + - Choosing the defagult editor (pick VSCode) + - Configuring the line ending conversions (Checkout as-is, commit Unix-style line endings) + - Otherwhise stick with the defaults unless you know what you are doing. + +Git is a versioning tool, we use it to upload your solutions on the school server. + +#### Install `nodejs` + +- Download the installer https://nodejs.org/en/download/current/ + +NodeJS will allow to execute JavaScript code outside of the browser, usefull for testing your code. -> If you are adventurous, you can also setup your SSH key -> this will allow you to avoid typing your password everytime. ### Values @@ -120,7 +100,6 @@ Videos designed to give **hints** are assigned to each quest. It is strongly sug ### You will learn about -- Terminal - Code Editor - Git - JS