Skip to content

RolandFleddermannANU/after-school-help

 
 

Repository files navigation

After school help

Detailed worked solutions to high-school science problems.

Physics

Maths

Running Jupyter notebooks on your own computer

It's not necessary to use the JupyterLab notebooks linked above only through Binder; you can also run them on your own computer. If you use Windows, you'll need to use Windows Subsystem for Linux (WSL) for the following instructions to work. On MacOS or Linux, just open a terminal and enter the commands there.

First things first: clone the repository. You'll need to use a command like this:

git clone https://github.com/paultcochrane/after-school-help.git

That will create a directory named after-school-help; change into that directory (via the cd command) and then install the Python requirements with the pip command.

cd after-school-help  # change into the directory we just created
python3 -m venv venv  # create the Python virtual environment
source venv/bin/activate  # activate the Python virtual environment
pip install -r requirements.txt  # install the required Python libraries

Now you'll be ready to start the JupyterLab notebook environment. Just run

jupyter lab

and the JupyterLab environment will start with a launcher window similar to that below:

JupyterLab initial screen

To open a pre-existing notebook, just double click on one of the folders (e.g. physics or maths) and double click on a notebook file (anything with the notebook icon icon or any file with the .ipynb extension). For instance, if you open the evaporating a pot of water worked example file, you'll see something like this:

JupyterLab opened example notebook

Now feel free to play around, change the numbers in the code and re-run the individual notebook cells to see the effects of your changes!

About

Detailed worked solutions to high-school science problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 95.9%
  • TeX 4.0%
  • Makefile 0.1%