Skip to content

Commit 1fb27f4

Browse files
author
Mariya Pershina
committed
Procedure for configuring .kanta
1 parent 1c1beea commit 1fb27f4

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
:_newdoc-version: 2.18.3
2+
:_template-generated: 2025-02-26
3+
:_mod-docs-content-type: PROCEDURE
4+
5+
[id="configuring-kantra-directory_{context}"]
6+
= Configuring the .kantra directory
7+
8+
Starting from {ProductFullName} 7.2.0, you can perform an application analysis in the containerless mode. Before running the analysis, you must create and configure the `.kantra` directory.
9+
10+
.Prerequisites
11+
12+
* You installed the {ProductShortName} extension version 7.2.0 or later on your system. For more information, see xref:installing-vs-code-extension_vsc-extension-guide[Installing the MTA extension for Visual Studio Code].
13+
* You installed the {ProductShortName} distribution version 7.2.0. For more information, see link:https://docs.redhat.com/en/documentation/migration_toolkit_for_applications/7.2/html/cli_guide/installing_and_running_the_cli#installing-downloadable-cli-zip_cli-guide[Installing the CLI .zip file].
14+
15+
.Procedure
16+
17+
. Create a directory named `.kantra` in your `$HOME` directory:
18+
+
19+
[source, terminal,subs="attributes+"]
20+
----
21+
$ mkdir ~/.kantra/
22+
----
23+
24+
. Move all the files from the link:https://docs.redhat.com/en/documentation/migration_toolkit_for_applications/7.2/html/cli_guide/installing_and_running_the_cli#installing-downloadable-cli-zip_cli-guide[extracted {ProductShortName} directory], except the `mta-cli` binary, into the `~/.kantra` directory.
25+
+
26+
[source, terminal,subs="attributes+"]
27+
----
28+
$ mv !(mta-cli) ~/.kantra/
29+
----
30+
31+
32+
.Verification
33+
34+
* Verify that you created and configured the `.kantra` directory correctly by running the application analysis. For more information, see xref:analyzing-projects-with-vs-code-extension_vsc-extension-guide[Analyzing your projects with the MTA extension].
35+

docs/vs-code-extension-guide/master.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ include::topics/mta-what-is-the-toolkit.adoc[leveloffset=+2]
2626
// Install the extension
2727
include::topics/installing-vs-code-extension.adoc[leveloffset=+1]
2828

29+
30+
// Create and configure .kantra for the analysis
31+
include::topics/configuring-kantra-directory.adoc[leveloffset=+1]
32+
2933
[id="analyzing-projects-with-vs-code-extension_{context}"]
3034
== Analyzing your projects with the {ProductShortName} extension
3135

@@ -34,7 +38,7 @@ You can analyze your projects with the {ProductShortName} extension by creating
3438
include::topics/vs-code-extension-interface.adoc[leveloffset=+2]
3539

3640
include::topics/vs-code-extension-run-configuration.adoc[leveloffset=+2]
37-
41+
3842
[id="reviewing-and-resolving-issues-with-vs-code-extension_{context}"]
3943
== Reviewing and resolving migration issues
4044

0 commit comments

Comments
 (0)