Skip to content
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
ABradham committed Aug 1, 2023
commit c959a352e11dbb6ddd7913f5ddfba769db89e9c0
8 changes: 8 additions & 0 deletions firestore/angular-rewrite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ Follow these steps to have a working version of the quickstart running with the
ng serve
```

11. (Optional) Populate production Firestore with mock data

Now that the application is live on the Firebase console, you likely want to add some data to your production Firestore database so that you can see the application in action. Rather than manually adding restaurants and reviews, a convenice script is available to populate your production Firestore database. Run the following command (defined in the `Firestore/` directory's `package.json`) to add mock data:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's note that this requires your configuration to exist in the config file


```bash
npm run populate-production
```

## Support

- [Firebase Support](https://firebase.google.com/support/)
Expand Down