Skip to content

Commit

Permalink
Merge note on triggering DAG via CLI into dev
Browse files Browse the repository at this point in the history
The note is very helpful for people not wanting to have the web interface running all the time.
  • Loading branch information
gnn committed Oct 12, 2022
2 parents 53ad2a7 + c3b840e commit 0c1e51f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,18 @@ If running :code:`egon-data` results in an error, we also have collected
a list of `known runtime errors`_, which can consult in search of a
solution.

To run the workflow from the CLI without using :code:`egon-data serve` you can use

.. code-block:: bash
egon-data airflow scheduler
egon-data airflow dags trigger egon-data-processing-pipeline
For further details how to use the CLI see `Apache Airflow CLI Reference`_.

.. _Apache Airflow: https://airflow.apache.org/docs/apache-airflow/stable/ui.html#ui-screenshots
.. _known runtime errors: https://eGon-data.readthedocs.io/en/latest/troubleshooting.html#runtime-errors
.. _Apache Airflow CLI Reference: https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html

.. warning::

Expand Down

0 comments on commit 0c1e51f

Please sign in to comment.