Repo for trying out Hail Tutorials.
- Clone this repo
- Start VS Code, press F1, and select Remote-Containers: Open Folder in Container... Select the path you cloned this repo to.
Note the devcontainer (i.e. everything in $PROJECT_DIR/.devcontainer
) was copied from vscode-dev-containers Python
3. The following additional steps
were added/configured.
- Everything in requirements.txt, most notably jupyter-lab, hail and gcloud
- openjdk-11-jdk
- Google Cloud SDK
Google Cloud SDK is installed in the container but the easiest way to use it is to share your host's Google Cloud SDK
config as a Docker volume mount. This of course assumes your host is already configured to access Google Cloud, i.e.
$HOME/.config/gcloud
already exists in your host with correct configurations. If not, then:
- Follow [Google Cloud SDK install](Google Cloud SDK) instructions.
- Run
gcloud auth application-default login
and follow prompts
This is also a required step for Hail to Reading from Google Cloud Storage