-
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
npm i -g fire-import
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)
⚠️ Please make sure that you are in firebase project directory. Or initialize the firebase project by enteringfirebase init
in terminal.
fire-import storage
Please go to the firebase console and get the project id.
Start firebase emulator with
firebase emulators:start --import=./firebaseExport --export-on-exit=./firebaseExport