Skip to content

Instantly share code, notes, and snippets.

@xiaolai
Created February 2, 2019 04:04
Show Gist options
  • Save xiaolai/cef9c92caa9c252fe6aaa3f43cecb102 to your computer and use it in GitHub Desktop.
Save xiaolai/cef9c92caa9c252fe6aaa3f43cecb102 to your computer and use it in GitHub Desktop.
Run Jupterlab as an desktop app
# install anaconda
jupyter-lab --generate-config
edit ~/.jupyter/jupyter_notebook_config.py, add lines:
c.NotebookApp.token = '' #you can set password here.
#https://github.com/jiahaog/nativefier
npm install nativefier -g
nativefier "http://localhost:8888"
jupyter lab --no-browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment