potiuk commented on code in PR #57027:
URL: https://github.com/apache/airflow/pull/57027#discussion_r2468007078
##########
airflow-core/docs/start.rst:
##########
@@ -79,15 +79,51 @@ This quick start guide will help you bootstrap an Airflow
standalone instance on
uv pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint
"${CONSTRAINT_URL}"
-4. Run Airflow Standalone:
+4. Install Airflow on Windows, using WSL2. In Powershell, run the following
commands to create WSL2 environment.
+
+ .. code-block:: bash
+
+ :substitutions:
+
+
+ wsl --install
+ # Restart computer, then in WSL Ubuntu terminal:
+ sudo apt update
+ sudo apt install python3-pip python3-venv
+
+ bash # Go to Linux home directory (not Windows mount)
+ cd ~
+
+ # Create airflow directory
+ mkdir -p ~/airflow
+ cd ~/airflow
+
+ # Create virtual environment
+ python3 -m venv airflow_venv
+
+ # Activate
+ source airflow_venv/bin/activate
+
+ # Upgrade pip
+ pip install --upgrade pip
+
+ # Install Airflow with correct Python version constraints
+ pip install "apache-airflow[celery]==3.1.0" --constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-3.1.0/constraints-3.12.txt"
+
+ # Verify installation
+ airflow version
+
+5. Run Airflow Standalone:
The ``airflow standalone`` command initializes the database, creates a
user, and starts all components.
.. code-block:: bash
airflow standalone
-5. Access the Airflow UI:
+ For accessing admin account details for Airflow installation on Windows
WSL2, use contents in file ``simple_auth_manager_passwords.json.generated`` to
login to Airflow UI.
+
+6. Access the Airflow UI:
Review Comment:
```suggestion
5. Access the Airflow UI:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]