Created
November 20, 2016 18:55
-
-
Save bollwyvl/04c6e6ac025b981411f16ca579438fae to your computer and use it in GitHub Desktop.
Setting up local jupyterlab development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jlab_test | |
channels: | |
- conda-forge | |
- defaults | |
dependencies: | |
- nb_conda_kernels | |
- nodejs | |
- notebook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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