Skip to content

Instantly share code, notes, and snippets.

@luigidifraia
Last active September 16, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luigidifraia/054799aeca1d0795afec832eac719a0d to your computer and use it in GitHub Desktop.
Save luigidifraia/054799aeca1d0795afec832eac719a0d to your computer and use it in GitHub Desktop.
Bash script to get started with Catapult's Data Cube JupyterHub platform
#!/bin/bash
cd
mkdir satapps
cd satapps
git init
git remote add -f origin https://github.com/luigidifraia/jupyterhub-platform-tutorials.git
git config core.sparseCheckout true
echo "datacube/examples" >> .git/info/sparse-checkout
git pull --depth=1 origin master
cd
./satapps/datacube/examples/scripts/prepare-environment.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment