You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[GitHub Copilot: Changing AI Models](https://docs.github.com/en/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat?tool=vscode)
Copy file name to clipboardExpand all lines: docs/00-setup.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Refer to the [README](../README.md) doc for preparation.
65
65
66
66
If you see something different from above, delete the GitHub Codespace instance and recreate it.
67
67
68
-
1. Move down to the [Check GitHub Copilot Agent Mode](#check-github-copilot-agent-mode) section.
68
+
1. Move down to the [Set-up MCP Servers](#set-up-mcp-servers) section.
69
69
70
70
**👇👇👇 Instead, if you'd like to use VS Code on your local machine, follow the instruction below. The section below doesn't apply to those who use GitHub Codespaces. 👇👇👇**
71
71
@@ -255,6 +255,37 @@ Refer to the [README](../README.md) doc for preparation.
1. Select model to either `GPT-4.1` or `Claude Sonnet 4`.
34
+
1. Make sure that you've configured [MCP Servers](./00-setup.md#set-up-mcp-servers).
34
35
35
36
### Prepare Custom Instructions
36
37
@@ -74,6 +75,7 @@ Refer to the [README](../README.md) doc for preparation.
74
75
```text
75
76
I'd like to scaffold a Spring Boot app. Follow the instructions below.
76
77
78
+
- Use context7.
77
79
- Your working directory is `java`.
78
80
- Identify all the steps first, which you're going to do.
79
81
- Use Spring Boot CLI to create the Spring Boot app project.
@@ -101,6 +103,7 @@ Refer to the [README](../README.md) doc for preparation.
101
103
```text
102
104
Now, we're migrating the existing FastAPI-based API app to Spring Boot API app. Carefully read the entire PRD and `openapi.yaml`. Follow the instructions below for the migration.
103
105
106
+
- Use context7.
104
107
- The existing FastAPI application is located at `python`.
105
108
- Your working directory is `java/springapp`.
106
109
- Identify all the steps first, which you're going to do.
@@ -118,12 +121,31 @@ Refer to the [README](../README.md) doc for preparation.
118
121
```
119
122
120
123
1. Click the `[keep]` button of GitHub Copilot to take the changes.
124
+
1. Once migration is over, use prompt like below to verify the migration result.
125
+
126
+
```text
127
+
I'd like to build the Spring Boot app. Follow the instructions.
128
+
129
+
- Use context7.
130
+
- Build the Spring Boot app and verify if the app is built properly.
131
+
- If building the app fails, analyze the issues and fix them.
132
+
```
133
+
134
+
> **NOTE**:
135
+
>
136
+
> - Until the build succeeds, iterate this step.
137
+
> - If the build keeps failing, check out the error messages and ask them to GitHub Copilot Agent to figure them out.
138
+
139
+
1. Click the `[keep]` button of GitHub Copilot to take the changes.
140
+
141
+
### Verify Spring Boot Backend App
142
+
121
143
1. Once the application is built, verify if it's written properly or not.
122
144
123
145
```text
124
146
Run the Spring Boot app and verify if the app is properly running. Also verify the OpenAPI endpoint renders exactly the same content as `openapi.yaml`.
125
147
126
-
If app running fails, analyze the issues and fix them.
148
+
If app running fails, analyze the issues and fix them. Use context7.
127
149
```
128
150
129
151
1. Open a web browser and navigate to `http://localhost:8080`.
1. Select model to either `GPT-4.1` or `Claude Sonnet 4`.
35
+
1. Make sure that you've configured [MCP Servers](./00-setup.md#set-up-mcp-servers).
35
36
36
37
### Prepare Custom Instructions
37
38
@@ -139,7 +140,7 @@ Refer to the [README](../README.md) doc for preparation.
139
140
```text
140
141
Use the container image just built, run a container and verify if the app is running properly.
141
142
142
-
- Use the host port of `3000`.
143
+
- Use the host port of `3030`.
143
144
```
144
145
145
146
1. Make sure that both frontend and backend apps are NOT communicating with each other because they don't know each other yet. Run the prompt like below.
@@ -162,7 +163,7 @@ Refer to the [README](../README.md) doc for preparation.
162
163
- Create `compose.yaml` as the Docker Compose file.
163
164
- Use `contoso` as the network name.
164
165
- Use `contoso-backend` as the container name of the Java app. Its target port is 8080, and host port is 5050.
165
-
- Use `contoso-frontend` as the container name of the .NET app. Its target port is 8080, and host port is 3000.
166
+
- Use `contoso-frontend` as the container name of the .NET app. Its target port is 8080, and host port is 3030.
166
167
```
167
168
168
169
1. Once the `compose.yaml` file is created, run it and verify if both apps are running properly.
@@ -171,6 +172,8 @@ Refer to the [README](../README.md) doc for preparation.
171
172
Now, run the Docker compose file and verify if the apps are running properly.
172
173
```
173
174
175
+
1. Open a web browser and navigate to `http://localhost:3030`, and verify if the apps are up and running properly.
176
+
174
177
---
175
178
176
179
Congratulations! 🎉 You've completed all the workshop sessions successfully!
0 commit comments