Created
December 31, 2019 11:04
-
-
Save koobitor/a70e518275d1d7fa031fadb2918a4876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # airflow needs a home, ~/airflow is the default, | |
| # but you can lay foundation somewhere else if you prefer | |
| # (optional) | |
| export AIRFLOW_HOME=~/airflow | |
| # install from pypi using pip | |
| pip install apache-airflow | |
| # initialize the database | |
| airflow initdb | |
| # start the web server, default port is 8080 | |
| airflow webserver -p 8080 | |
| # start the scheduler | |
| airflow scheduler | |
| # visit localhost:8080 in the browser and enable the example dag in the home page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment