#!/bin/bash

# Move kernels to shared folder
shared_juptyer_path="/usr/local/share/jupyter/kernels"
mkdir -p ${shared_juptyer_path}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cp -a "${DIR}/glue_python_kernel" "${shared_juptyer_path}/"
cp -a "${DIR}/glue_scala_kernel" "${shared_juptyer_path}/"
# enable jupyter widgets
#jupyter nbextension enable --py widgetsnbextension
#jupyter labextension install @jupyter-widgets/jupyterlab-manager
# update service-2.json
aws configure add-model --service-model file://${DIR}/service-2.json --service-name glue


