Learning to make extensions for JupyterLab and incorporating React.
- JupyterLab
For a development install:
#Create the environment
conda create -n jupyter-vcdat -c cdat/label/nightly -c conda-forge nodejs "python>3" vcs jupyterlab pip nb_conda nb_conda_kernels
source activate jupyter-vcdat
# Install sidecar
python -m pip install --no-deps --ignore-installed sidecar
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @jupyter-widgets/jupyterlab-sidecar
# GITHUB EXTENSION
jupyter labextension install @jupyterlab/github
# maybe?
pip install jupyterlab_github
jupyter serverextension enable --sys-prefix jupyterlab_github
# Install the extension
cd ..
git clone https://github.com/CDAT/jupyter-vcdat.git
cd jupyter-vcdat
python setup.py install
# To run, got to jupyter-vcdat repo
jupyter lab
To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build
If you get an FFMPEG import error, run the following command:
conda install -c conda-forge "ffmpeg>4"