Skip to content

Commit 5549ca1

Browse files
committed
Fix ng run … instructions
Replace `ng run s` with `ng run angular-chatbot:serve`
1 parent b619eae commit 5549ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ For more information on Angular, visit [angular.dev](https://angular.dev/).
1414
1. Run `npm run i` to install the dependencies required to run the server.
1515
1. [IMPORTANT!!] This demo needs a Gemini API to run. Go to [Google AI Studio](https://aistudio.google.com/app/apikey) to get an API key then add it to the Firebase Function in `functions/.env`. This demo simulates how you might store and protect a private Gemini API key in a real world app.
1616
1. [IMPORTANT!!] This demo relies on a `CORPUS_NAME` from Docs Agent, then authenticates with a `service_account_key.json`. See [DocsAgent Set Up guide](https://github.com/google/generative-ai-docs/tree/main/examples/gemini/python/docs-agent#set-up-docs-agent) to set up your own corpus and authentication. You'll need to replace `functions/service_account_key.json` with the one provided to you by Google Cloud, and then make sure to march the `CORPUS_NAME` in `functions/` to your uploaded corpus id.
17-
1. Run `ng run s` to run the server. Since we're using Firebase Functions, you'll need to run our functions and the app in a Firebase Emulator, this command does this automatically!
17+
1. Run `ng run angular-chatbot:serve` to run the server. Since we're using Firebase Functions, you'll need to run our functions and the app in a Firebase Emulator, this command does this automatically!
1818
1. Open a browser tab to [http://localhost:4200](http://localhost:4200). The app will automatically reload if you change any of the source files.

0 commit comments

Comments
 (0)