Skip to content

Instantly share code, notes, and snippets.

@vinkrish
Created October 28, 2019 19:04
Show Gist options
  • Save vinkrish/75b9a3adcf766ceb6596a9544e985aa4 to your computer and use it in GitHub Desktop.
Save vinkrish/75b9a3adcf766ceb6596a9544e985aa4 to your computer and use it in GitHub Desktop.

airflow needs a home, ~/airflow is the default

export AIRFLOW_HOME=~/airflow

install from pypi using pip

pip install apache-airflow

initialize the database

airflow initdb

start the web server, default port is 8080

airflow webserver -p 8080

start the scheduler

airflow scheduler

visit localhost:8080 in the browser and enable the example dag in the home page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment