sudo apt-get update
sudo apt-get install python3 python3-pip virtualenv
# sudo apt-get install emacs tmux
virtualenv --python=python3 virtairflow
source virtairflow/bin/activate
pip install apache-airflow[s3,gcp_api,postgres,celery,kubernetes,rabbitmq]
Once installed, run airflow
once and the config file will be created.
airflow
Edit the airflow config (~/airflow/airflow.cfg
) to include your database config.