Initialize & Configure the Emulator
Explore how to initialize and configure the Firebase Local Emulator Suite to run Firestore and Hosting locally. Understand setting environment variables and SDK configuration for efficient local testing and development of your cloud-native web application.
We'll cover the following...
We'll cover the following...
Initialize the emulators
In your terminal, start with creating a new branch:
git switch -c add-firebase-emulators
Navigate to services/web/firebase. You first need to login to Firebase:
npm run firebase:login
Now, initialize the emulators with this command:
./node_modules/.bin/firebase init emulators
The wizard already recognized that we use Firestore and Hosting. Press “Enter” to ...