#!/usr/bin/env bash
#
# Binder postBuild instructions
set -eux
yarn install
yarn run build
python -m pip install .
python -m pip install jupyterlab-tour

# Import the workspace into JupyterLab
jupyter lab workspaces import binder/workspace.json

mkdir -p $HOME/.jupyter/
cp binder/jupyter_notebook_config.py ${HOME}/.jupyter/
