Skip to content

Commit 0081409

Browse files
authored
Update the relative path of README.md in the angular sample apps. (#240)
1 parent dd48e3c commit 0081409

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

.idx/dev.nix

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{ pkgs, ... }: {
2+
env = {
3+
PORT = "4200";
4+
};
5+
6+
# Enable previews and customize configuration
7+
idx.previews = {
8+
enable = true;
9+
previews = {
10+
# The following object sets web previews
11+
web = {
12+
command = [
13+
"npm"
14+
"start"
15+
"--"
16+
"orchestrator"
17+
"--port"
18+
"$PORT"
19+
"--host"
20+
"localhost"
21+
];
22+
manager = "web";
23+
cwd="samples/client/angular";
24+
# Optionally, specify a directory that contains your web app
25+
# cwd = "app/client";
26+
};
27+
};
28+
};
29+
}

samples/client/angular/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ These are sample implementations of A2UI in Angular.
66

77
1. [nodejs](https://nodejs.org/en)
88

9-
NOTE: [For the rizzcharts app](../../a2a_agents/python/adk/samples/rizzcharts/), you will need GoogleMap API ([How to get the API key](https://developers.google.com/maps/documentation/javascript/get-api-key)) to display Google Map custome components. Please refer to [Rizzcharts README](./rizzcharts/README.md)
9+
NOTE: [For the rizzcharts app](../../../a2a_agents/python/adk/samples/rizzcharts/), you will need GoogleMap API ([How to get the API key](https://developers.google.com/maps/documentation/javascript/get-api-key)) to display Google Map custome components. Please refer to [Rizzcharts README](./projects/rizzcharts/README.md)
1010

1111
## Running
1212

1313
1. Build the shared dependencies by running `npm run build` in the `renderers/lit` directory
1414
2. Install the dependencies: `npm i`
1515
3. Run the relevant A2A server:
16-
* [For the restaurant app](../../a2a_agents/python/adk/samples/restaurant_finder/)
17-
* [For the contact app](../../a2a_agents/python/adk/samples/contact_lookup/)
18-
* [For the rizzcharts app](../../a2a_agents/python/adk/samples/rizzcharts/)
16+
* [For the restaurant app](../../../a2a_agents/python/adk/samples/restaurant_finder/)
17+
* [For the contact app](../../../a2a_agents/python/adk/samples/contact_lookup/)
18+
* [For the rizzcharts app](../../../a2a_agents/python/adk/samples/rizzcharts/)
1919
4. Run the relevant app:
2020
* `npm start -- restaurant`
2121
* `npm start -- contact`

samples/client/angular/projects/orchestrator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This angular app connects to an Orchastrator Agent which takes user messages and
88

99
1. [nodejs](https://nodejs.org/en)
1010
2. GoogleMap API ([How to get the API key](https://developers.google.com/maps/documentation/javascript/get-api-key))
11-
3. An endpoint hosting all of the A2AService. ([Review the instructions on how to run Orchestrator A2AService connecting to multiple A2A/A2UI Agents](../../../a2a_agents/python/adk/samples/orchestrator/README.me).)
11+
3. An endpoint hosting all of the A2AService. ([Review the instructions on how to run Orchestrator A2AService connecting to multiple A2A/A2UI Agents](../../../../../a2a_agents/python/adk/samples/orchestrator/README.me).)
1212

1313
## Running
1414

1515
1. Update the `src/environments/environment.ts` file with your Google Maps API key.
1616
2. Build the shared dependencies by running `npm run build` in the `renderers/lit` directory
1717
3. Install the dependencies: `npm i`
18-
4. Run the A2A server for all of the agents. ([Link to instructions](../../../a2a_agents/python/adk/samples/orchestrator/README.me))
18+
4. Run the A2A server for all of the agents. ([Link to instructions](../../../../../a2a_agents/python/adk/samples/orchestrator/README.me))
1919
5. Run the app:
2020

2121
- `npm start -- orchestrator`

samples/client/angular/projects/rizzcharts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ These are sample implementations of A2UI in Angular.
1212
1. Update the `src/environments/environment.ts` file with your Google Maps API key.
1313
2. Build the shared dependencies by running `npm i`, then `npm run build` in the `renderers/lit` directory
1414
3. Install the dependencies: `npm i`
15-
4. Run the A2A server for the rizzcharts agent ((../../../a2a_agents/python/adk/samples/rizzcharts/))
15+
4. Run the A2A server for the [rizzcharts agent](../../../../../a2a_agents/python/adk/samples/rizzcharts/)
1616
5. Run the relevant app:
1717
* `npm start -- rizzcharts`
1818
6. Open http://localhost:4200/

0 commit comments

Comments
 (0)