Skip to content

Instantly share code, notes, and snippets.

@harishb2k
Created June 23, 2021 21:17
Show Gist options
  • Select an option

  • Save harishb2k/7668268399b7dea19e01ae65dfc476a6 to your computer and use it in GitHub Desktop.

Select an option

Save harishb2k/7668268399b7dea19e01ae65dfc476a6 to your computer and use it in GitHub Desktop.

Revisions

  1. harishb2k renamed this gist Jun 23, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. harishb2k created this gist Jun 23, 2021.
    20 changes: 20 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    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