In addition to language, covers package management, codespaces, devcontainers with docker, jupyter, testing.
Secrets
.devcontainer/devcontainer.json
- configures the DevContainer: says the Docker image to use, extensions to install.
- runs .devcontainer/test_codespace.py
.devcontainer/Dockerfile
- instructions for building the Docker image basis for the DevContainer.
- Specifies the base image to use, and installs
pip
andrequirements.txt
.devcontainer/test_codespace.py
- tests Codespace: that it has
pip
and that thesecret
is not empty.
- when secrets change, update them at https://github.com/lizre/learn-py/settings/secrets/codespaces