Overview
Teaching: 10 min Exercises: 10 minQuestions
What are Jupyter Notebooks?
What is JupyterHub?
Objectives
Learn how to share executable code that you’ve written
We will use some of the skills learned in the Github and conda tutorial to clone a version of the tutorial contents (https://github.com/geohackweek/tutorial_contents.git) on to your local machine. Then we will use conda to install a sample environment.yml file and run notebooks locally.
10 minutes git and conda challenge
- Check if you have jupyter notebook installed (open terminal, run jupyter notebook)
- Git fork (https://github.com/geohackweek/tutorial_contents.git)
- Git clone your OWN fork of the repo
- conda install the sample environment file from the raster tutorial
- Launch Jupyter Notebook from inside the git repository
- Test running one of the notebooks
Jupyterhub:
All notebooks have access to the same set of packages and libraries as specified in the environment file.
Which means…
Jupyterhub is a way to give a standardized Jupyter Notebook server to each person in a group of people
The JupyterHub for GeohackWeek is accessible at: https://jupyterhub.geohackweek.org
You will need a Github account for authentication.
Key Points
The cloud provides on-demand access to infinite computational resources
Resources need to be carefully managed, because charges are usually tied to how long resources are held
The cloud is great for bursty, high-volume computing, or for some small services you might want to run