This is a template repository for creating lectures with Jupyter Notebooks and publish them using Notebook-Classroom.
The best way to build your own is to generate a new repository using this as a template
There are a cople of files in the repository. Most of them don't need to be touched, but you can use them to adjust this sample lecture to your needs.
As this is a sample lecture, installing the dependencies for your lecture is easy. Just add them to the requirements.txt
and install
them in your local development folder.
pip install -r requirements.txt
The img
can be used to add images to your lecture notes, scripts and slides. Just add them as:
![name](./img/file_name)
This will work in your .md
and .ipynb
files.
The data
folder can be used to add data to the repository, which will be used by your scripts
or is distributed to your students, in case they clone this repository, too.
The static folder can be used to add static content to webpage in .md
and .html
format. The only exception from is rule is the index.md
, which is also allowed in
the root directory.
The files ending on .ipynb
are the jupyter notebooks. They can be run by jupyter lab
or jupyter notebook
and are editable in the browser. Each notebook consists of sequential cells that are placed underneath each other to
compose a document. They can contain images, text, latex code, formulas or code.
There are a number of kernels available, these are interpreters (or compiler) to run code added to a code cell.
In this sample lecture, we will use Python, but C++, R, Julia or Ocatve are also possible.
These files can be distributed as .ipynb
files containing executable code. Then the reciever will need to install jupyter as well.
Alternatively, you can compile the notebook to HTML, PDF of HTML-slides. With this sample project, all notebooks will
automatically be compiles to HTML and slides and be published on GitHub Pages.
This file will be used as the landing page of the published Notebook-Classroom application. Introduce the module here, or give some advice to your students, how these resources should be used.
- Add missing packages to the
requirements.txt
- Remove/replace all
.ipynb
with your lectures - Configure Notebook-Classroom application by adjusting configuration.js.