Skip to content

Template for flipped classroom courses using jupyter book.

License

Notifications You must be signed in to change notification settings

iame-uni-bonn/course_jb_template

Repository files navigation

Template for Flipped Classroom Courses Using Jupyter Book

Purpose

This is a template repository for flipped classroom courses. It uses jupyter book to create an online textbook with course materials built from markdown files and jupyter notebooks. It allows to launch notebooks on JupyterHub.

Usage

Replace Placeholders

Find and replace the following placeholders in the entire directory.

Placeholder Replacement Example
COURSE_SLUG applied_micro
COURSE_NAME Applied Microeconomics
COURSE_DESCRIPTION Ph.D. / M.Sc. course in Applied Microeconomics
COURSE_URL https://www.wiwi.uni-bonn.de/gaudecker/_static/applied_micro/landing-page.html
(course website, not git repository)
https://github.com/iame-uni-bonn/course_jb_template https://gitlab.iame.uni-bonn.de/hmg/applied_microeconomics
(no .git at the end)
TEACHER_NAMES Hans-Martin von Gaudecker and Florian Zimmermann
ONE_AUTHORS_EMAIL [email protected]
(just one e-mail address)
COURSE_DATE Summer Term 2023

Rename the directory ./src/COURSE_SLUG.

Requirements

Create and activate the environment with

$ conda/mamba env create
$ conda activate COURSE_SLUG
$ npm install

Build Project

To build the project, execute

$ pytask

View Materials

To view the jupyter books with course materials, open

  • ./student_book/index.html (student version) or
  • ./teacher_book/index.html (teacher version) in a browser.

To view the screencast slides in the interactive version, run

$ npx slidev book_source/teachers/[chapter]/screencast_[x]/slides.md

Add New Chapters

  1. Copy and paste ./src/COURSE_SLUG/chapter_template, and rename according to CHAPTER_NAMES in src/COURSE_SLUG/config.py.
  2. Append the folder name to CHAPTER_NAMES in ./src/COURSE_SLUG/config.py.
  3. Run pytask to build the book and work on the To-Do list that is shown on the landing page when opening the book.
  4. Remove finished To-Dos from the list by deleting them in ./src/COURSE_SLUG/[chapter]/internal_overview.md.

Add New To-Dos

You can add additional To-Dos in .md files as well as in markdown cells in .ipynb files. For instance, add the following line to a markdown file:

```{todo}
A description of what needs to be done.
```

To-Dos will only show up in the teacher book.

About

Template for flipped classroom courses using jupyter book.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published