Skip to content

Commit b557831

Browse files
Merge pull request #412 from microsoft/microhack-env
fix: challenge env fix
2 parents 4efa62b + aa42ac3 commit b557831

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

workshop/docs/workshop/Challenge-3-and-4/Challenge-3.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,29 @@ One of the easiest and most fun changes you can make to the app is updating the
5151

5252
### Step 3: Run the App
5353

54-
1. Open a terminal or command prompt.
55-
56-
2. Navigate to the project directory where start.cmd is located:
57-
`cd src/`
54+
1. Go to the [Azure Portal](https://portal.azure.com).
55+
2. In the **search bar**, type the name of the **Resource Group** you created during **Challenge 1**.
56+
3. Within the resource group, look for the **API App Service**.
57+
It will have a name similar to: kms2lspvbjwagg-api
58+
4. In the App Service, navigate to **Settings > Environment variables**.
59+
![Azure Portal Settings > Configuration](../img/portal-app-api-env.png)
60+
5. Locate the following environment variables:
61+
- `AZURE_AI_SEARCH_API_KEY`
62+
- `AZURE_OPENAI_API_KEY`
63+
6. Copy their values and paste them into your local `.env` file.
64+
7. Open a terminal or command prompt.
65+
8. Navigate to the project directory where `start.cmd` is located:
66+
67+
```bash
68+
cd src/
69+
```
70+
9. Start the application:
71+
72+
```bash
73+
./start.cmd
74+
```
75+
10. Two terminal windows will open — one for the backend and one for the frontend.
5876

59-
3. Run the following command:
60-
`./start.cmd`
77+
Once the app starts, you should see your new logo and working backend in action!
6178

62-
4. Two terminal windows will open — one for the backend and one for the frontend.
63-
Once the app starts, you should see your new logo in action!
6479

248 KB
Loading

0 commit comments

Comments
 (0)