Update README.md

This commit is contained in:
Christopher Fremond 2021-10-24 16:02:48 +01:00 committed by GitHub
parent cff422c338
commit 989c44a92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 3 deletions

View File

@ -88,12 +88,35 @@ executed.
### Instructions ### Instructions
Once you have installed and configured the necessary tools, Once you have installed and configured the necessary tools,
create a `git` repository named `((ROOT))` with a `hello-there.js` create in your [Gitea](<https://git.((DOMAIN))>) account the repository named `((ROOT))` with a `hello-there.js`
JS file that is a program that displays the exact text `Hello There !`, any `Number` and a JS file that is a program that displays:
`Boolean`. - the exact text `Hello There !`
- any `Number`
- and a `Boolean`.
In order to work in your repository and put files in it, you need to clone it first.
If your username was `choumi` this is the command that will need to be used:
```
git clone https://git.((DOMAIN))/choumi/((ROOT)).git
```
To execute it, open a Unix shell (e.g. Git Bash on Windows), you are going to type commands in it.
This command needs to be adapted with **your own username**.
> Don't forget to commit and push the file to the servers > Don't forget to commit and push the file to the servers
### Optional (git setting to avoid typing the password every time)
The `((ROOT))` repository will be the folder where all the exercises must be uploaded.
In order to avoid writing your username and password every time you `git push` an exercise,
tell Git to remember your password (like a web browser would) with the below command:
```
git config --global credential.helper store
```
### Recommendation ### Recommendation
Videos designed to give **hints** are assigned to each quest. It is strongly suggested to watch them as you go. Videos designed to give **hints** are assigned to each quest. It is strongly suggested to watch them as you go.