
In this page, we will build the OMS application and setup VS Code, so we can use GenAI to fix TODO items in the next page.
Open Windows CMD (command prompt) and cd to C:\vFunctionLab\oms-tutorial\oms-webmvc
cd C:\vFunctionLab\oms-tutorial\oms-webmvcBuild the application by running
mvn clean installAfter the build is completed successfully, open VS Code from the command window by running:
code .Check for VS Code updates (Help menu) and update to the latest version of VS Code
In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)
Search for the extension: Amazon Q and click Install on the extension with this name
After the installation is done, you should see the Amazon Q extension on the left and do a Personal or Company account login. A free personal account is sufficient.
After you sign in, switch to the chat and Acknowledge the terms.
You can use GitHub Copilot instead of Amazon Q if preferred (vFunction supports both)
In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)
Search for the extension vFunction and click Install on the extension with this name
Click on the vFunction extension icon (should be the bottom icon on the left var)
Enter the base URL of the vFunction server for the Domain (e.g., http://172.2.0.4) and click Login - you will be re-directed to the web browser to login.
Select the Application and Measurement:

Click on Install MCP Tools
You should see the TODO items listed in vFunction extension form.
In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)
Search for the extension Spring Boot Dashboard and click Install on the extension with this name
