Skip to content

Instantly share code, notes, and snippets.

@asears
Created June 15, 2016 20:07
Show Gist options
  • Save asears/15191faf9e793edee23220cc3a1df4ac to your computer and use it in GitHub Desktop.
Save asears/15191faf9e793edee23220cc3a1df4ac to your computer and use it in GitHub Desktop.
#!/bin/bash
# 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 airflow
# initialize the database
airflow initdb
# start the web server, default port is 8080
airflow webserver -p 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment