Skip to content
Snippets Groups Projects
Commit e88fe8ec authored by nicolas.fernandez_ird.fr's avatar nicolas.fernandez_ird.fr :shinto_shrine:
Browse files

Doc: rework on installations pages

parent dc42574d
No related branches found
No related tags found
No related merge requests found
Pipeline #66211 passed
# **Installations** # **In stallations**
## **Conda** ## **Conda**
!!! warning !!! warning
Dependency required **Dependency required**
GeVarLi use the use the free and open-source package manager **Conda**. GeVarLi use the use the free and open-source package manager **Conda**.
**If you don't have Conda**, we hihly recommad to installed it with **Miniforge**. **If you don't have Conda**, we hihly recommad to installed it with **Miniforge**.
!!! note
Read why: [Avoiding the Pitfalls of the Anaconda License: A Practical Guide](https://mivegec.pages.ird.fr/dainat/malbec-fix-conda-licensing-issues/en/)
!!! tip You can **download** and **install** the latest version of **Miniforge** for your specific OS from the git repository: [Conda-forge / Miniforge](https://github.com/conda-forge/miniforge/releases).
If you need help, you can use the script: [Install_Conda-with-Miniforge3.sh](https://forge.ird.fr/transvihmi/nfernandez/install_conda-with-miniforge3)
!!! warning
We higly recommand to **reset default channels** of yours conda distribution and to **update** it regulary!
Otherwise, you can **download** and **install** the [latest version of Miniforge](https://github.com/conda-forge/miniforge/releases) for your specific OS. !!! note
Read why: [Avoiding the Pitfalls of the Anaconda License](https://mivegec.pages.ird.fr/danat/malbec-fix-conda-licensing-issues/en/).
!!! shell !!! shell
Example bash script for Linux\_x86\_64-bit** or Windows Subsystem for Linux (WSL) systems _Example script for Linux\_x86\_64-bit** or Windows Subsystem for Linux (WSL) systems_
```shell ```shell
# Download # Download
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
...@@ -44,38 +46,41 @@ Otherwise, you can **download** and **install** the [latest version of Miniforge ...@@ -44,38 +46,41 @@ Otherwise, you can **download** and **install** the [latest version of Miniforge
~/miniforge3/condabin/conda init ~/miniforge3/condabin/conda init
``` ```
!!! warning !!! tip
We higly recommand to **set channels** and **update**! If you need help, you can use this side script: [Install_Conda-with-Miniforge3.sh](https://forge.ird.fr/transvihmi/nfernandez/install_conda-with-miniforge3)
!!! note
Read why: [Avoiding the Pitfalls of the Anaconda License](https://mivegec.pages.ird.fr/danat/malbec-fix-conda-licensing-issues/en/)
## **GeVarLi**
!!! warning
Given that Conda is installed
You can **download** GeVarLi from [IRD-Forge git repository](https://forge.ird.fr/transvihmi/nfernandez/GeVarLi), as zip file:
<img src="../../../images/download_button.png" width="300" height="60"> ## **GeVarLi**
_Exemple script to download GeVarLi to your home/ directory_ !!! warning
```shell **Given that Conda is installed**
# Download
curl https://forge.ird.fr/transvihmi/nfernandez/GeVarLi/-/archive/main/GeVarLi-main.tar.gz -o ~/GeVarLi-main.tar.gz
# Untar You can **download** GeVarLi as zip file from the git repository: [IRD-Forge / GeVarLi](https://forge.ird.fr/transvihmi/nfernandez/GeVarLi).
tar -xzvf ~/GeVarLi-main.tar.gz
# Clear <div style="text-align: center;">
rm -f ~/GeVarLi-main.tar.gz <img src="../../../images/download_button.png" width="100" height="200">
</div>
# Rename !!! shell
mv ~/GeVarLi-main/ ~/GeVarLi/ _Exemple script to download GeVarLi to your ```/home/``` directory_
```shell
# Download
curl https://forge.ird.fr/transvihmi/nfernandez/GeVarLi/-/archive/main/GeVarLi-main.tar.gz -o ~/GeVarLi-main.tar.gz
# Untar
tar -xzvf ~/GeVarLi-main.tar.gz
# Clear
rm -f ~/GeVarLi-main.tar.gz
# Rename
mv ~/GeVarLi-main/ ~/GeVarLi/
``` ```
!!! tip !!! tip
Otherwise, you can also **clone** and **update** GeVarLi: Otherwise, you can also **clone** and **update** GeVarLi.
_Exemple script to clone and update it, to your home/ directory_ _Exemple script to clone and update it, to your ```/home/``` directory_
```shell ```shell
# Clone # Clone
git clone --depth 1 https://forge.ird.fr/transvihmi/nfernandez/GeVarLi.git ~/GeVarLi/ git clone --depth 1 https://forge.ird.fr/transvihmi/nfernandez/GeVarLi.git ~/GeVarLi/
......
# **Installations** # **Installations**
## **Conda** ## **Conda**
!!! warning !!! warning
Dépendance requise **Dépendance requise**
GeVarLi utilise le gestionnaire de paquets gratuit et open-source **Conda**. GeVarLi utilise le gestionnaire de paquets gratuit et open-source **Conda**.
**Si vous n'avez pas Conda**, nous vous recommandons vivement de l'installer avec **Miniforge**. **Si vous n'avez pas Conda**, nous vous recommandons vivement de l'installer avec **Miniforge**.
!!! note
Lire pourquoi: [Éviter les Pièges de la Licence Anaconda : Guide Pratique](https://mivegec.pages.ird.fr/dainat/malbec-fix-conda-licensing-issues/fr/)
!!! tip Vous pouvez **télécharger** et **installer** la dernière version de **Miniforge** spécifique à votre système d'exploitation depuis le dépôt git : [Conda-forge / Miniforge](https://github.com/conda-forge/miniforge).
Si vous avez besoin d'aide, vous pouvez utiliser le script annexe : [Install_Conda-with-Miniforge3.sh](https://forge.ird.fr/transvihmi/nfernandez/install_conda-with-miniforge3)
Sinon, vous pouvez **télécharger** et **installer** la [dernière version de Miniforge](https://github.com/conda-forge/miniforge/releases) spécifique à votre système d'exploitation. !!! warning
Nous vous recommandons fortement de **redéfinir les canaux par défaut** de votre distribution conda et de la **mettre à jour** régulièrement !
!!! note
Lire pourquoi: [Éviter les Pièges de la Licence Anaconda : Guide Pratique](https://mivegec.pages.ird.fr/dainat/malbec-fix-conda-licensing-issues/fr/).
!!! shell !!! shell
Exemple de script bash pour les systèmes Linux\_x86\_64 bits ou Sous-système Windows pour Linux (WSL) _Exemple de script pour les systèmes Linux\_x86\_64 bits ou Sous-système Windows pour Linux (WSL)_
```shell ```shell
# Download # Download
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
...@@ -43,45 +45,47 @@ Sinon, vous pouvez **télécharger** et **installer** la [dernière version de M ...@@ -43,45 +45,47 @@ Sinon, vous pouvez **télécharger** et **installer** la [dernière version de M
# Init # Init
~/miniforge3/condabin/conda init ~/miniforge3/condabin/conda init
``` ```
!!! warning !!! tip
Nous vous recommandons fortement de **définir des canaux** et de **mettre à jour** ! Si vous avez besoin d'aide, vous pouvez utiliser ce script annexe : [Install_Conda-with-Miniforge3.sh](https://forge.ird.fr/transvihmi/nfernandez/install_conda-with-miniforge3)
!!! note
Lire pourquoi: [Éviter les Pièges de la Licence Anaconda : Guide Pratique](https://mivegec.pages.ird.fr/dainat/malbec-fix-conda-licensing-issues/fr/)
## **GeVarLi** ## **GeVarLi**
!!! warning
Présumant que Conda est installé
Vous pouvez **télécharger** GeVarLi depuis le [dépôt git sur IRD-Forge](https://forge.ird.fr/transvihmi/nfernandez/GeVarLi), en tant que fichier zip :
<img src="../../../images/download_button.png" width="300" height="60"> !!! warning
**Présumant que Conda est installé**
_Exemple de script pour télécharger GeVarLi dans votre répertoire home/_
```shell
# Download
curl https://forge.ird.fr/transvihmi/nfernandez/GeVarLi/-/archive/main/GeVarLi-main.tar.gz -o ~/GeVarLi-main.tar.gz
# Untar Vous pouvez **télécharger** GeVarLi en tant que fichier zip depuis le dépôt git : [IRD-Forge / GeVarLi](https://forge.ird.fr/transvihmi/nfernandez/GeVarLi).
tar -xzvf ~/GeVarLi-main.tar.gz
# Clean <div style="text-align: center;">
rm -f ~/GeVarLi-main.tar.gz <img src="../../../images/download_button.png" width="100" height="200">
</div>
# Rename !!! shell
mv ~/GeVarLi-main/ ~/GeVarLi/ _Exemple de script pour télécharger GeVarLi dans votre répertoire ```/home/```_
``` ```shell
# Download
curl https://forge.ird.fr/transvihmi/nfernandez/GeVarLi/-/archive/main/GeVarLi-main.tar.gz -o ~/GeVarLi-main.tar.gz
# Untar
tar -xzvf ~/GeVarLi-main.tar.gz
# Clean
rm -f ~/GeVarLi-main.tar.gz
# Rename
mv ~/GeVarLi-main/ ~/GeVarLi/
```
!!! tip !!! tip
Sinon, vous pouvez aussi **cloner** et **mettre à jour** à jour GeVarLi : Sinon, vous pouvez aussi **cloner** et **mettre à jour** à jour GeVarLi.
_Exemple de script pour le cloner et le mettre à jour, dans votre répertoire home/_ _Exemple de script pour le cloner et le mettre à jour, dans votre répertoire ```/home/```_
```shell ```shell
# Clone # Clone
git clone --depth 1 https://forge.ird.fr/transvihmi/nfernandez/GeVarLi.git ~/GeVarLi/ git clone --depth 1 https://forge.ird.fr/transvihmi/nfernandez/GeVarLi.git ~/GeVarLi/
cd ~/GeVarLi/ cd ~/GeVarLi/
# Update/Pull (présumant que vous êtes dans le répertoire GeVarLi/) # Update/Pull (présumant que vous êtes dans le répertoire GeVarLi/)
git reset --hard HEAD && git pull --depth 1 --verbose git reset --hard HEAD && git pull --depth 1 --verbose
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment