Skip to content

Add commands to generate student version - #9

Open
jorisvandenbossche wants to merge 3 commits into
mainfrom
dev-workflow
Open

Add commands to generate student version#9
jorisvandenbossche wants to merge 3 commits into
mainfrom
dev-workflow

Conversation

@jorisvandenbossche

Copy link
Copy Markdown
Collaborator

TODO: I should also add the convert_notebooks.sh script.

@jorisvandenbossche

Copy link
Copy Markdown
Collaborator Author

Last version:

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

export COURSE_DIR="course-janssen"
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 $COURSE_DIR/_solved/
mkdir -p $COURSE_DIR/_solved/python_intro/ && cp course-python-data-clean/notebooks/python_intro/*.ipynb $COURSE_DIR/_solved/python_intro/
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant