Skip to content

Commit

Permalink
[AIRFLOW-6211] Use conda for local virtualenv (apache#6766)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Weber authored and potiuk committed Dec 10, 2019
1 parent 2784372 commit 0f21e9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions LOCAL_VIRTUALENV.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ Simply enter the Breeze environment by using ``workon`` and, once you are in it,
./breeze --initialize-local-virtualenv
Optional - create a local virtualenv with conda
-----------------------------------------------

- install `miniconda3 <https://docs.conda.io/en/latest/miniconda.html>`_

.. code-block:: bash
conda create -n airflow python=3.6
conda activate airflow
pip install -U -e ".[devel,gcp,postgres,ssh]"
# if necessary, start with a clean AIRFLOW_HOME, e.g.
# rm -rf ~/airflow
airflow db init
Running Tests
-------------
Expand Down

0 comments on commit 0f21e9b

Please sign in to comment.