Skip to content

Instantly share code, notes, and snippets.

@harishb2k
Created June 23, 2021 21:17
Show Gist options
  • Save harishb2k/7668268399b7dea19e01ae65dfc476a6 to your computer and use it in GitHub Desktop.
Save harishb2k/7668268399b7dea19e01ae65dfc476a6 to your computer and use it in GitHub Desktop.
Airflow
brew install astronomer/tap/astro
brew install astronomer/tap/[email protected]
mkdir some_dir
cd some_dir
astro dev init
>> If you want to install some python modules then put that in requirements.txt file
e.g. to add amazone airflow add following
apache-airflow-providers-amazon==1.1.0
astro dev start
astro dev stop
To chnage port:
~/.astro/config.yaml
>> change "webserver" port
# NOTE - you need to find the correct versions from following file
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.0/constraints-3.7.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment