/airflow

Notes and playground for Apache Airflow

Primary LanguagePython

Locally Running Airflow

Makefile and configuration to run Apache Airflow with Postgres DB backend and LocalExecutor.

Prerequisites

  • Python3.6
  • python3-dev
  • virtualenv
  • Postgres

Initial Setup

make requirements
make initdb

Usage

# in two terminals

make webserver
make scheduler

Open http://localhost:8080

To pass the metadata database connection string

export AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:password@localhost