Skip to content

An extension that allows you to incorporate interactive tutorials within jupyterlab

License

Notifications You must be signed in to change notification settings

CDAT/jupyterlab-tutorial-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jupyterlab-tutorial-extension

An extension for JupyterLab which provides an entry point, functions and defaults for the @cdat/jupyterlab-tutorial package.

Prerequisites

  • JupyterLab

Installation

jupyter labextension install jupyterlab-tutorial-extension

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

Steps to test npm package without publishing (MacOS):

  1. Go to the package directory
cd package/directory
  1. Prepare the tar package with npm
npm pack
  1. Copy the package to home directory for simplicity
cp jupyterlab-tutorial-extension-<version>.tgz ~
#Copy the package to the cache folder too for testing in JupyterLab:
cp jupyterlab-tutorial-extension-<version>.tgz ~/Library/Caches
  1. Go to the project directory where the package is needed for testing
cd <project/where/you/need/package>
  1. Install the package using the home directory [If it's used in package.json]
npm install ~/jupyterlab-tutorial-extension-<version>.tgz
  1. If the package is used as extension in a project, install the updated extension: NOTE: If the extension is same version as one already installed, uninstall the other first
jupyter labextension install ~/jupyterlab-tutorial-extension-<version>.tgz

About

An extension that allows you to incorporate interactive tutorials within jupyterlab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published