Skip to content

Add commands to generate student version #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,32 @@ 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
```
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And pip install git+https://github.com/jorisvandenbossche/nbtutor.git


Creating the student version materials from this repo:

```
export COURSE_DIR="DS-python-geospatial-2022"

git clone https://github.com/jorisvandenbossche/DS-python-geospatial.git $COURSE_DIR
git clone https://github.com/jorisvandenbossche/course-python-geospatial.git course-python-geospatial-clean

cp course-python-geospatial-clean/notebooks/*.ipynb $COURSE_DIR/_solved/
cp course-python-geospatial-clean/notebooks/data/ $COURSE_DIR/notebooks/ -r
cp course-python-geospatial-clean/img/ $COURSE_DIR/ -r
cp course-python-geospatial-clean/environment.yml $COURSE_DIR/
cp course-python-geospatial-clean/check_environment.py $COURSE_DIR/
cd $COURSE_DIR/
./convert_notebooks.sh
jupyter nbconvert --clear-output _solved/*.ipynb
```


## Meta
Authors: Joris Van den Bossche, Stijn Van Hoey