Code Monkey home page Code Monkey logo

course_jb_template's Introduction

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.

course_jb_template's People

Contributors

hmgaudecker avatar jfrerking avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.