Skip to content

Instantly share code, notes, and snippets.

@koobitor
Created December 31, 2019 11:04
Show Gist options
  • Select an option

  • Save koobitor/a70e518275d1d7fa031fadb2918a4876 to your computer and use it in GitHub Desktop.

Select an option

Save koobitor/a70e518275d1d7fa031fadb2918a4876 to your computer and use it in GitHub Desktop.
# airflow needs a home, ~/airflow is the default,
# but you can lay foundation somewhere else if you prefer
# (optional)
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