|
| 1 | +## Using the IDE Plugin |
| 2 | + |
| 3 | +### Get a Demo App or Any App You Like to Migrate |
| 4 | + |
| 5 | +1. Clone the Cool-store application: |
| 6 | + ```bash |
| 7 | + git clone https://github.com/konveyor-ecosystem/coolstore.git |
| 8 | + ``` |
| 9 | +2. Navigate to File > Open in VSCode and locate the folder we just cloned. |
| 10 | + |
| 11 | +### Running Kai RPC server |
| 12 | + |
| 13 | +1. Users will land on the welcome page after installation as shown below. If the Welcome Page does not appear, proceed to the step 2. |
| 14 | +  |
| 15 | + If "Set up Konveyor" is not available in the list, click the More button for additional options. |
| 16 | +  |
| 17 | +2. If the welcome page does not appear, open the command palette by pressing Command + Shift + P. This will bring up a list of commands. |
| 18 | +  |
| 19 | + From the command palette, locate and select the "Set up Konveyor" option. This will guide you through the configuration process. |
| 20 | +  |
| 21 | +3. Configure Konveyor for your project. |
| 22 | + - User has an option to override binaries and custom rules, however it comes with the default packaged binaries and custom rules. |
| 23 | +  |
| 24 | + - The Konveyor extension allows you to add custom rules to the analyzer. This is useful when you want to apply your own rules during analysis. |
| 25 | + - Configuring analysis arguments is necessary to determine which rules apply to the project during analysis. Set up analysis arguments specific to your project by selecting the appropriate options and pressing "Enter" to save the changes. |
| 26 | + - To confirm your arguments, navigate to your project directory and open `/.vscode/settings.json`. |
| 27 | +  |
| 28 | + - Next, set up the Generative AI key for your project. This step will open the `provider-settings.yaml` file. By default, it is configured to use OpenAI. To change the model, update the anchor `&active` to the desired block. Modify this file with the required arguments, such as the model and API key, to complete the setup. Sample of the `provider-settings.yaml` can be found [here.](https://github.com/konveyor/editor-extensions/blob/main/vscode/resources/sample-provider-settings.yaml) |
| 29 | + - As the final step, select "Get Solution Parameters". |
| 30 | +4. Once the configuration is done, click on start server button. Logs are collected at output channel named konveyor-analyzer. |
| 31 | +  |
0 commit comments