GitHub Codespaces

GitHub Codespaces gives us a ready-to-use development machine in the cloud. It's an alternative to installing Linux, Docker, and the course tools on your own computer.

Create the workspace

Create a public GitHub repository for your course work. The repository needs to be public because you'll later submit a link to your homework. Add a README and the Python .gitignore template, then create the repository.

A new repository open in VS Code inside GitHub Codespaces

Open the repository's Code menu, select the Codespaces tab, and create a codespace from the main branch. GitHub starts a browser version of Visual Studio Code with a terminal, the repository, and Docker already available.

Check the prepared tools

Run the Docker smoke test from the integrated terminal:

docker run hello-world

The Codespaces terminal with the Docker environment ready

Codespaces saves the setup work from the longer VM instructions. You don't need to install Docker or Docker Compose again inside the codespace.

Use the desktop editor when you need forwarded ports

The browser editor is enough for many commands, but notebooks and MLflow need a way to expose their ports. Open the codespace in the desktop version of Visual Studio Code when you need to connect to Jupyter or another service from your computer.

Jupyter running inside the course workspace

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.