Goto https://github.com/apache/airflow/ and fork the project.
Goto your github account's fork of airflow click on
Code
and copy the clone link.Add goto https://gitpod.io/#<copied-url> as shown.
Gitpod default image have all the required packages installed.
- Run
pipx install -e ./dev/breeze
to install Breeze
Warning
If you see below warning - it means that you hit known issue
with packaging
version 23.2:
The workaround is to downgrade packaging to 23.1 and re-running the pipx install
command. for example
by running pip install "packaging<23.2"
.
- Run
breeze
to enter breeze in Gitpod.
Once you enter breeze environment is initialized, create airflow tables and users from the breeze CLI.
The airflow db reset
command is required to execute at least once for Airflow Breeze to
get the database/tables created. When you run the tests, your database will be initialized automatically
the first time you run tests.
Note
This step is needed when you would like to run/use webserver.
root@b76fcb399bb6:/opt/airflow# airflow db reset
root@b76fcb399bb6:/opt/airflow# airflow users create --role Admin --username admin --password admin \
--email [email protected] --firstname foo --lastname bar
Follow the Quick start for typical development tasks.