This project includes Dev Container support for VS Code and other compatible editors.
- Install the Dev Containers extension
- Open this project in VS Code
- Click "Reopen in Container" when prompted, or use Command Palette:
Dev Containers: Reopen in Container
- Start the dev container:
task dev-container
- In VS Code, use Command Palette:
Dev Containers: Attach to Running Container - Select the
{{ cookiecutter.project_slug }}-devcontainer
# Build and start the dev container
task dev-container
# Access the container shell
docker exec -it {{ cookiecutter.project_slug }}-dev bash
# Stop the container when done
task dev-container-stopThe dev container includes:
- Python {{ cookiecutter.python_version }}+ with uv package manager
- All project dependencies (including dev dependencies)
- Git, GitHub CLI, Task, and pre-commit tools
- VS Code extensions for Python development
- Proper volume mounts for live code editing
DEV_MODE=true- Installs all development dependenciesPYTHONPATH=/workspace/src- Ensures proper module imports- Working directory:
/workspace
If you encounter issues:
- Ensure Docker is running
- Check that you have the latest Dev Containers extension
- Try rebuilding the container:
Dev Containers: Rebuild Container - For manual setup, ensure you run
task initafter container starts