iame-uni-bonn / course_jb_template

Template for flipped classroom courses using jupyter book.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 hmgaudecker@uni-bonn.de
(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.

License:Other


Languages

Language:Python 79.7%Language:Jupyter Notebook 8.4%Language:TeX 8.4%Language:CSS 2.5%Language:JavaScript 1.0%