codediodeio / firestore-migrator

:bullettrain_side: A CLI utility for moving data to and from Cloud Firestore
https://angularfirebase.com/lessons/import-csv-json-or-excel-to-firestore/
317 stars 94 forks source link

[question] How to use fire-migrate with a firestore emulator? #59

Open fredguth opened 2 years ago

fredguth commented 2 years ago

I uploaded many documents to from an excel table to my production firestore using fire-migrate 👍. It worked fine.

I now, want to have the same dataset in the firestore emulator. I then tried to export and import this dataset using gcloud cli but was not successful (see https://stackoverflow.com/q/73364863/1344369).

I wonder if I can just upload from my excel table to my emulator using fire-migrate. But I don't know how.