

.. _examples.academic.templates:

.. include:: ../../../examples/academic/templates/README.rst

Path: :file:`examples/academic/templates`.

Configuring
-----------

.. literalinclude:: ../../../examples/academic/templates/workflow.cfg
    :language: ini
    :caption: :file:`workflow.cfg`

.. literalinclude:: ../../../examples/academic/templates/tasks.cfg
    :language: ini
    :caption: :file:`tasks.cfg`

.. literalinclude:: ../../../examples/academic/templates/hosts.cfg
    :language: ini
    :caption: :file:`hosts.cfg`


Running
-------

Overview
~~~~~~~~
Let's have an overview of stages before running the workflow.

.. command-output:: woom show overview
    :cwd: ../../../examples/academic/templates

Dry run
~~~~~~~
Now let's run the workflow in test (dry) and debug modes.

.. command-output:: woom run --log-no-color --log-level debug --dry-run
    :cwd: ../../../examples/academic/templates


Normal run
~~~~~~~~~~
And finally in run it.

.. command-output:: woom run --log-no-color
    :cwd: ../../../examples/academic/templates

Check status
~~~~~~~~~~~~
Check what is running or finished.

.. command-output:: woom show status
    :cwd: ../../../examples/academic/templates

Show run directories
~~~~~~~~~~~~~~~~~~~~
Show where tasks were executed.

.. command-output:: woom show run_dirs
    :cwd: ../../../examples/academic/templates


