Skip to content

Commit 102bf6f

Browse files
committed
Refactor example app to be the ng-store sample
1 parent 5b68ea3 commit 102bf6f

19 files changed

Lines changed: 475 additions & 35 deletions

vertex-ai-firebase-angular-example/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,19 @@ Here's an example of the running application:
77

88
## How to get started
99

10-
1. Create and configure a project in Firebase. Follow the directions for [Step 1](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) to create an project and a web app. Do not follow the instructions for adding the sdks, that has already been done for this repository.
10+
1. Create and configure a project in Firebase. Follow the directions for [Step 1](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) to create a project and a web app. Do not follow the instructions for adding the sdks, that has already been done for this repository.
1111
1. Clone this repository or download the code to your local machine
1212
1. `cd` into the root folder (e.g., `cd vertex-ai-firebase-angular`)
13+
1. Take your project settings from Firebase Console and add them to `src/environments.ts`
14+
```
15+
export const environment = {
16+
production: true,
17+
firebase: {
18+
/* project settings */
19+
},
20+
};
21+
```
22+
1323
1. Install the dependencies with `npm install`
1424
1. Update the Firebase project settings in `environment.ts`.
1525
1. Run this example with `ng serve`
1.23 MB
Loading
1010 KB
Loading
662 KB
Loading
1.29 MB
Loading
1.27 MB
Loading
1.51 MB
Loading
1.05 MB
Loading
1000 KB
Loading
1.29 MB
Loading

0 commit comments

Comments
 (0)