Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you access Airflow Web Interface?

Tags:

airflow

Hi I am taking a datacamp class on how to use Airflow and it shows how to create dags once you have access to an Airflow Web Interface.

Is there an easy way to create an account in the Airflow Web Interface? I am very lost on how to do this or is this just an enterprise tool where they provide you access to it once you pay?

like image 760
Nick Knauer Avatar asked Mar 16 '26 21:03

Nick Knauer


1 Answers

You must do this on terminal. Run these commands:

export AIRFLOW_HOME=~/airflow

AIRFLOW_VERSION=2.2.5

PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"

CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"

pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"

airflow standalone

Then, in there, you can see the username and password provided.

Then, open Chrome and search for:

localhost:8080

And write the username and password.

like image 97
Ana Kenia Avatar answered Mar 22 '26 19:03

Ana Kenia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!