Jupyter Installation

Basic Installation

pip install jupyter

Adding JavaScript scripts to Jupyter

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install pkg-config node zeromq
pip install --upgrade pyzmq jupyter
npm install -g ijavascript
ijsinstall

Installing widgets

pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension

Install JupyterHub

python3 -m pip install jupyterhub
npm install -g configurable-http-proxy
python3 -m pip install notebook

Start the Hub server

jupyterhub

Install with Docker

docker pull jupyter/all-spark-notebook

Run container

# docker run -d -p 8888:8888 -v /disk-directory:/virtual-notebook jupyter/all-spark-notebook
docker run -d -p 8888:8888 -v /Users/[USERNAME]:/dan-notebook jupyter/all-spark-notebook
docker ps -l
docker inspect [CONTAINER_ID]
# Access from browser
http://[CONTAINER_IP]:8888

Learning Jupyter