#!/bin/bash

 wget --no-check-certificate https://s3.amazonaws.com/aws-bigdata-blog/artifacts/aws-blog-emr-jupyter/install-jupyter-emr5.sh
 aws s3 cp s3://ty-emr/XRR/bootstrap/install-jupyter-emr5-payload.sh .
chmod +x $util_path/install-jupyter-emr5-payload.sh
chmod +x install-jupyter-emr5-payload.sh
./install-jupyter-emr5-payload.sh \
      --r \
      --julia \
      --toree \
      --torch \
      --ruby \
      --ds-packages \
      --ml-packages \
      --python-packages ggplot nilearn \
      --port 8002 \
      --password jupyter \
      --jupyterhub \
      --jupyterhub-port 8001 \
      --cached-install \
      --notebook-dir s3://ty-emr/XRR/jupyter/notebooks/ \
      --copy-samples \
      --s3fs
