Bootstrap a local Airflow 3 environment - fast.
pip install angreal && angreal init https://github.com/angreal/airflow.git
The template targets Airflow 3.3.2 by default (set airflow_version when you render it).
It needs Python 3.10 or newer, Docker, and Docker Compose v2 (docker compose).
demo: commands for controlling the demo environment
clean - shut down services and remove files
restart - restart all service
start - start services for example dags
stop - stop services for example dags
dev-setup - setup a development environment
test: commands for executing tests
lint - lint our project
run - run our test suite. default is unit tests only
angreal demo startbuilds the image fromdev/Dockerfileand starts the stack indev/docker-compose.yaml(based on the official Airflow 3 compose file): Postgres, the API server, the scheduler, the DAG processor and the triggerer, with the LocalExecutor. The UI and API answer on http://localhost:8080 (userairflow, passwordairflow); setAIRFLOW_API_PORTto use another port.angreal test runruns the unit tests;--integrityruns the DAG integrity tests (import errors and deprecation warnings);--fullruns both.angreal test lintruns pre-commit, including ruff's Airflow 3 rules (AIR3).
Airflow 2 users can render an older commit of this template.