Python 3.12 and Docker (Docker Desktop or Docker Engine)
Python 3.12 in a virtual environment runs training, the FastAPI service, and the tests; Docker builds the service into an image and runs it as a container, exactly as a cloud host would. Python 3.12 matches the python:3.12-slim image the container is built from, so local tests describe what ships. Docker Desktop is free for personal use, education, and small businesses, and Docker Engine on Linux is open source. Without admin rights, or on a Chromebook, a free GitHub Codespace with the course's devcontainer.json provides Python 3.12, Docker, and Git in the browser.
Python 3.12 and Docker (Docker Desktop or Docker Engine)
FreePython 3.12 in a virtual environment runs training, the FastAPI service, and the tests; Docker builds the service into an image and runs it as a container, exactly as a cloud host would. Python 3.12 matches the python:3.12-slim image the container is built from, so local tests describe what ships. Docker Desktop is free for personal use, education, and small businesses, and Docker Engine on Linux is open source. Without admin rights, or on a Chromebook, a free GitHub Codespace with the course's devcontainer.json provides Python 3.12, Docker, and Git in the browser. Every lesson is readable text with copyable code, keyboard-friendly quizzes and step-throughs, and videos with YouTube captions.
- Install Python 3.12 (winget, python.org, Homebrew, or apt) and Git, and create a free GitHub account.
- Install Docker Desktop (Windows or macOS) or Docker Engine (Linux), start it, and run docker run hello-world.
- Create the late-delivery project folder, make a virtual environment with Python 3.12, and activate it.
- Install the pinned libraries with python -m pip install -r requirements-dev.txt, then run check_setup.py and smoke_test.py.