From 3f98f47dfaba722d41f1588988732706827f64e1 Mon Sep 17 00:00:00 2001 From: FARHI Laurence Date: Wed, 3 Apr 2019 18:04:06 +0200 Subject: [PATCH] Interaction gitlab/git dans la Toc + lien vers les tutos --- module2/ressources/jupyter.org | 8 ++++++-- module2/ressources/jupyter_fr.org | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/module2/ressources/jupyter.org b/module2/ressources/jupyter.org index 1d51891..8004414 100644 --- a/module2/ressources/jupyter.org +++ b/module2/ressources/jupyter.org @@ -23,6 +23,7 @@ jupyter notebook - [[#making-sure-jupyter-allows-you-to-use-r][Making sure Jupyter allows you to use R]] - [[#latex-for-pdf-export][LaTeX for PDF export]] - [[#additional-tips][Additional tips]] + - [[#interacting-with-gitlab-and-github][Interacting with GitLab and GitHub]] * Jupyter tips and tricks The following [[https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/][webpage]] lists several Jupyter tricks (in particular, it @@ -344,14 +345,17 @@ Here are a few extensions that can ease your life: #+END_CENTER NB: In the first edition of the MOOC some people had issues making it work under Windows. -*** • Interacting with GitLab and GitHub +** • Interacting with GitLab and GitHub To ease your experience, we added pull/push buttons that allow you to commit and sync with GitLab. This development was specific to the MOOC but inspired from a previous [[https://github.com/Lab41/sunny-side-up][proof of concept]]. We have recently discovered that someone else developed about at the same time a [[https://github.com/sat28/githubcommit][rather generic version of this Jupyter plugin]]. Otherwise, remember that it is very easy to insert a shell cell in Jupyter in which you -can easily issue git commands. This is how we work most of the time. +can easily issue git commands. This is how we work most of the time. If you choose this solution, *we strongly advise that you +follow [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/d132a854b0464ad29085cedaded23136][our tutorial on using git from RStudio]]* (/"RStudio et Gitlab"/ +). Before proceeding, make sure you also have followed the +*[[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/7508aece244548349424dfd61ee3ba85]["git/GitLab configuration" tutorial]]*. This being said, you may have noticed that Jupyter keeps a perfect track of the sequence in which cells have been run by updating the diff --git a/module2/ressources/jupyter_fr.org b/module2/ressources/jupyter_fr.org index cfb28b7..14f636a 100644 --- a/module2/ressources/jupyter_fr.org +++ b/module2/ressources/jupyter_fr.org @@ -16,6 +16,7 @@ - [[#sassurer-que-jupyter-vous-permet-dutiliser-r][S'assurer que Jupyter vous permet d'utiliser R]] - [[#latex-pour-la-génération-de-pdf][LaTeX pour la génération de PDF]] - [[#conseils-additionnels][Conseils additionnels]] + [[interaction-avec-gitlab-et-github][Interaction avec GitLab et GitHub]] * Jupyter : Trucs et astuces Cette [[https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/][page web]] (en anglais) recense un certain nombre d'astuces @@ -381,7 +382,7 @@ vie : N.B. : Dans la première édition de ce MOOC, certains participants nous ont rapporté avoir eu des difficultés à faire fonctionner cette extension sous Windows. -*** • Interaction avec GitLab et GitHub +** • Interaction avec GitLab et GitHub Pour rendre vous simplifier la vie, nous avons rajouté des boutons =pull/push= dans Jupyter qui vous permettent de synchroniser vos modifications avec GitLab. Ce développement spécifique pour ce MOOC @@ -393,7 +394,10 @@ intéresse, c'est donc une piste intéressante à explorer. Sinon, souvenez-vous qu'il est très simple d'insérer une cellule shell dans Jupyter et vous pouvez facilement y insérer des commandes Git. C'est la façon dont nous travaillons en pratique la majorité du -temps. +temps. Si vous optez pour cette solution, il vous faudra configurer Git sur votre +ordinateur. Pour ce faire, vous pouvez suivre la vidéo +[[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/7508aece244548349424dfd61ee3ba85][configurer Git pour Gitlab]] et le document +[[https://gitlab.inria.fr/learninglab/mooc-rr/mooc-rr-ressources/blob/master/module2/ressources/gitlab_fr.org][Git et Gitlab]] correspondant. Ceci étant dit, vous avez certainement remarqué que Jupyter conserve une trace parfaite de l'ordre dans lequel les cellules ont été -- 2.18.1