From b1df0db459189646fcecfc88ef277412d5f4a9c7 Mon Sep 17 00:00:00 2001 From: apontewill <78515501+apontewill@users.noreply.github.com> Date: Sat, 15 Apr 2023 18:48:43 -0400 Subject: [PATCH] Update README I was attempting to complete this tutorial as specified with no luck. Without running this command I kept getting errors and could not access the airflow-webserver. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 532931a..b387e8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # Airflow Airflow Course +## Setting the right Airflow user +As outlined in the [Apache Airflow Documentation](URL "https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#initializing-environment"), to prevent +permission-related problems **when executing on a Linux distribution** +execute the following command prior to using docker compose: + +echo -e "AIRFLOW_UID"=$(id -u) > .env + ## Python packages in WSL pip install apache-airflow