Python 3.11+ Pip (do NOT use Poetry or another dependecy manager, it must be pip)
-
Certify that the variable $AIRFLOW_HOME is setted:
echo $AIRFLOW_HOME
-
Create an python virtual enviroment:
python -m venv .venv
-
Activate the virtual environment:
source .venv/bin/activate
-
[1 Time Only] Set the execution priviledges and install the airflow dependencies from the airflow.sh file
sudo chmod +x airflow.sh && ./1-set-dependencies.sh
-
Run the airflow:
airflow standalone
or
sudo chmod +x 2-prepare-airflow.sh && ./2-prepare-airflow.sh
Ps: the scheduler will run in the backgroud, you must kill the process after finishing working
- Access the ui on localhost:8000 (username and password are setted in 2-prepare-airflow.sh)