Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p7nov committed Feb 7, 2024
1 parent 02049d3 commit 2f50fcc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/reference/tooling/tt_cli/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The ``tt`` configuration file is a YAML file with the following structure:
.. note::

The ``tt`` configuration format and application layout has been changed in version
The ``tt`` configuration format and application layout have been changed in version
2.0. Learn how to upgrade from earlier versions in :ref:`tt-config_migrating-from-1`.

.. _tt-config_file_env:
Expand Down Expand Up @@ -176,8 +176,7 @@ Migrating from tt 1.* to 2.0 or later
-------------------------------------

The `tt` configuration and application layout were changed in version 2.0.
If you have applications running on tt 1.*, complete the following steps to
migrate to tt 2.0 or later:
If you are using ``tt`` 1.*, complete the following steps to migrate to ``tt`` 2.0 or later:

#. **Update the tt configuration file**.
In tt 2.0, the following changes were made to the configuration file:
Expand All @@ -190,6 +189,9 @@ migrate to tt 2.0 or later:
* The paths in the ``app`` section are now relative to the app directory in ``instances.enabled``
instead of the environment root.

You can use :ref:``tt init <tt-init>`` to generate a configuration file with
the new structure and default parameter values.

#. **Move application artifacts**.
With ``tt`` 1.*, application artifacts (logs, snapshots, pid, and other files)
were created in the ``var`` directory inside the *environment root*. Starting from
Expand Down

0 comments on commit 2f50fcc

Please sign in to comment.