You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.6 KiB

## Introduction
### Instructions
#### 1- get-ready
Create in your [Gitea](<https://git.((DOMAIN))>) account the repository named `((ROOT))`.
3 years ago
This repository will be the folder where all the exercises must be uploaded.
5 years ago
Once created, clone that repository on your desktop.
3 years ago
To do so, open a Unix shell (e.g. Git Bash on Windows), you are going to type commands in it.
3 years ago
First, tell Git to remember your password (like a web browser would):
```
git config --global credential.helper store
5 years ago
```
If your username was `choumi` this is the command that will need to be used:
```
git clone https://git.((DOMAIN))/choumi/((ROOT)).git
```
5 years ago
This command needs to be adapted with **your own username**.
#### 2- set
3 years ago
Once the repository is created, use you code editor to write your first shell script called `hello.sh`
3 years ago
When executed, this script must print `Hello choumi!`, where `choumi` is your username.
##### Usage
If the username is `choumi`:
```console
3 years ago
$ bash hello.sh
Hello choumi!
$
```
#### 3- go-say-hello
After that the `hello.sh` is executing correctly, it needs to be uploaded to the repository with the following commands:
1. `git add hello.sh`
2. `git commit -m "My very first commit"`
3. `git push`
3 years ago
Once these steps are applied, the file can now be submitted for grading on the platform by clicking on the "RUN INTRODUCTION TEST" button.
This action will run the tests on your submitted `hello.sh` file.
### Recommendation
Videos designed to give **hints** are assigned to each quest. It is strongly suggested to watch them as you go.
3 years ago
There are subtitles available in French and English.