From 6804c3e9fc7eaba50e3cba919a084a9d18f99e30 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Wed, 13 Oct 2021 14:43:24 +0200 Subject: [PATCH 1/3] Add commands to generate student version --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index e2440ff..96564fe 100644 --- a/README.md +++ b/README.md @@ -28,5 +28,29 @@ In case you do not want to install everything and just want to try out the cours Found any typo or have a suggestion, see [how to contribute](./CONTRIBUTING.md). +## Development + +In addition to the environment.yml, install the following packages: + +``` +conda install jupytext jlab-enhanced-cell-toolbar nbdime +``` + +Creating the student version materials from this repo: + +``` +git clone https://github.com/jorisvandenbossche/FLAMES-python-data-wrangling.git FLAMES-2021 +git clone --depth 1 https://github.com/jorisvandenbossche/course-python-data.git course-python-data-clean +cp course-python-data-clean/notebooks/*.ipynb FLAMES-2021/_solved/ +cp course-python-data-clean/notebooks/data/ FLAMES-2021/notebooks/ -r +cp course-python-data-clean/img/ FLAMES-2021/ -r +cp course-python-data-clean/environment.yml FLAMES-2021/ +cp course-python-data-clean/check_environment.py FLAMES-2021/ +cd FLAMES-2021/ +jupyter nbconvert --clear-output _solved/*.ipynb +./convert_notebooks.sh +``` + + ## Meta Authors: Joris Van den Bossche, Stijn Van Hoey From e3a5ac21f79860ffa39dfea8c577ac9a36eb4af4 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 13 Dec 2021 21:24:53 +0100 Subject: [PATCH 2/3] Generalize with COURSE_DIR variable --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 96564fe..1459ca9 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,15 @@ conda install jupytext jlab-enhanced-cell-toolbar nbdime Creating the student version materials from this repo: ``` -git clone https://github.com/jorisvandenbossche/FLAMES-python-data-wrangling.git FLAMES-2021 +export COURSE_DIR="DS-python-2021" +git clone --depth 1 https://github.com/jorisvandenbossche/DS-python-data-analysis.git $COURSE_DIR git clone --depth 1 https://github.com/jorisvandenbossche/course-python-data.git course-python-data-clean -cp course-python-data-clean/notebooks/*.ipynb FLAMES-2021/_solved/ -cp course-python-data-clean/notebooks/data/ FLAMES-2021/notebooks/ -r -cp course-python-data-clean/img/ FLAMES-2021/ -r -cp course-python-data-clean/environment.yml FLAMES-2021/ -cp course-python-data-clean/check_environment.py FLAMES-2021/ -cd FLAMES-2021/ +cp course-python-data-clean/notebooks/*.ipynb $COURSE_DIR/_solved/ +cp course-python-data-clean/notebooks/data/ $COURSE_DIR/notebooks/ -r +cp course-python-data-clean/img/ $COURSE_DIR/ -r +cp course-python-data-clean/environment.yml $COURSE_DIR/ +cp course-python-data-clean/check_environment.py $COURSE_DIR/ +cd $COURSE_DIR/ jupyter nbconvert --clear-output _solved/*.ipynb ./convert_notebooks.sh ``` From 2372a8f454d6db0f4e390d83b5dc73969702e56f Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 14 Mar 2022 13:58:57 +0100 Subject: [PATCH 3/3] temp --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index 1459ca9..73181fb 100644 --- a/README.md +++ b/README.md @@ -53,5 +53,39 @@ jupyter nbconvert --clear-output _solved/*.ipynb ``` + + +``` +export COURSE_DIR="ICES-2022" +git clone --depth 1 https://github.com/jorisvandenbossche/ICES-python-data.git $COURSE_DIR +git clone --depth 1 https://github.com/jorisvandenbossche/course-python-data.git course-python-data-clean +mkdir $COURSE_DIR/_solved/ +cp course-python-data-clean/notebooks/*.ipynb $COURSE_DIR/_solved/ +cp course-python-data-clean/notebooks/data/ $COURSE_DIR/notebooks/ -r +cp course-python-data-clean/img/ $COURSE_DIR/ -r +#cp course-python-data-clean/environment.yml $COURSE_DIR/ +cp course-python-data-clean/check_environment.py $COURSE_DIR/ +cd $COURSE_DIR/ +jupyter nbconvert --clear-output _solved/*.ipynb +./convert_notebooks.sh +``` + + + + modified: check_environment.py + modified: img/JakeVdP-ecosystem2.svg + modified: img/JakeVdP-ecosystem3.svg + modified: img/JakeVdP-ecosystem4.svg + modified: img/JakeVdP-ecosystem5.svg + modified: img/issuetracker.png + modified: img/navigator_notebook.png + modified: img/startup.png + modified: img/work_joris_1.png + modified: img/work_stijn_1.png + + + + + ## Meta Authors: Joris Van den Bossche, Stijn Van Hoey