Skip to content

Add commands to generate student version #9

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 3 commits into
base: main
Choose a base branch
from

Conversation

jorisvandenbossche
Copy link
Collaborator

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

@jorisvandenbossche
Copy link
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant