Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Created November 20, 2016 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bollwyvl/04c6e6ac025b981411f16ca579438fae to your computer and use it in GitHub Desktop.
Save bollwyvl/04c6e6ac025b981411f16ca579438fae to your computer and use it in GitHub Desktop.
Setting up local jupyterlab development
name: jlab_test
channels:
- conda-forge
- defaults
dependencies:
- nb_conda_kernels
- nodejs
- notebook
#!/bin/bash
conda env update
# assuming `environment.yml` is next to this file
source activate jlab_test
# should see nb_conda_kernels
jupyter serverextension list
if [ ! -d "jupyterlab" ]; then
git clone https://github.com/jupyterlab/jupyterlab.git
fi
cd jupyterlab
pip install -e .
jupyter serverextension enable --py --sys-prefix jupyterlab
# should see both
jupyter serverextension list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment