fire-import
v1.1.11
Published
Import your firebase data to your local firebase emulators
Downloads
135
Maintainers
Readme
Import your firebase production data easily to local firebase emulator
Requirements
Google Cloud SDK
For installing google cloud cli in your computer check this out => here
Firebase cli
For installing firebase cli into your computer run the following command
npm i -g firebase-tools
Usage
First Install the fire-import
cli
npm i -g fire-import
1. FireStore
fire-import firestore
It will ask you for projectId
. How to get Project Id ?
Then new browser windows will open. Choose your google account associated with firebase project.
(This package won't have access to any of your account. You are providing access to google-cloud-sdk
only)
:warning: Please make sure that you are in firebase project directory. Or initialize the firebase project by entering
firebase init
in terminal.
2. Firebase Storage
fire-import storage
FAQs
How to get firebase project id?
Please go to the firebase console and get the project id.
How to start emulator?
Start firebase emulator with
firebase emulators:start --import=./firebaseExport --export-on-exit=./firebaseExport