# start the web server, default port is 8080 # but you can lay foundation somewhere else if you prefer So you'll be able to run the commands, # airflow needs a home, ~/airflow is the default, Cygwin is a command line shell that runs on Windows and emulates Linux. Open a new terminal (I was surprised, but this seemed to be required).Īfter this, you should be good to go! The blog has more detail on many of these steps and rough timelines for how long setting up WSL takes, etc - so if you have a hard time dive in there some more.pip install apache-airflow (or pip3 for Python 3).Run the following 2 commands to install airflow:.sudo apt-get install python-pip (or python3-pip for Python 3).sudo apt-get install software-properties-common.Assuming it still does, add these packages so that installing PIP will work.Verify it comes with python 3.6.5 or so ( python3 -version).Get WSL Ubuntu installed and opened up.If you're gong for option 2, the basic steps are: Also, running a service in Docker is kind of against paradigm as each container should be a single process/unit of responsibility anyway. It is possible for option number 3, but I didn't do it as it requires activating privileged containers in docker (which I wan't aware of when I started). Note that if you want to get it running as a Linux service, it is not possible for option number 2. Install Airflow into Windows 10 via Docker + Centos - This worked great as well.Note that WSL is Windows Subsystem for Linux, which you can get for free in the Windows store. Install Airflow into Windows 10 WSL with Ubuntu - This worked great. Install Airflow directly into Windows 10 - This attempt failed.I went through a few iterations of this problem and documented them as I went along.
0 Comments
Leave a Reply. |