I am trying to configure Airflow on my system locally. I used:
export AIRFLOW_HOME=~/Documents/Project/airflow
Then I initialized the db airflow to
airflow initdb
Then I started the airflow web server using:
airflow webserver -p 8080
Now when I open localhost: 8080, the admin panel shows an example of dags from /usr/local/lib/python2.7/dist-packages/airflow/example-dags and not from the ~ / Documents / Project / airflow / dags folder.
While airflow list_dags on the command line displays dags from my project folder.
Failed to find out the reason. Please, help.
source share