Skip to content

Instantly share code, notes, and snippets.

@sofianhamiti
Last active June 4, 2021 14:31
Show Gist options
  • Save sofianhamiti/544710ec2c6f4fe734916580d77e4ce0 to your computer and use it in GitHub Desktop.
Save sofianhamiti/544710ec2c6f4fe734916580d77e4ce0 to your computer and use it in GitHub Desktop.
lifecycle configuration to install Theia
set -e
sudo -u ec2-user -i <<'EOP'
#####################################
## INSTALL THEIA IDE
#####################################
cd ${HOME}
git clone https://github.com/SofianHamiti/amazon-sagemaker-notebook-instance-lifecycle-config-theia.git lifecycle-config
cd lifecycle-config
sh install_theia.sh
EOP
## RESTART THE JUPYTER SERVER
initctl restart jupyter-server --no-wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment