-
Notifications
You must be signed in to change notification settings - Fork 48
Firebase
Firebase emulators require Java
To emulate Firebase functions, do npm install and npm run build in /functions
firebase emulators:start starts the emulators
npm run local configures the frontend to use emulators and starts local development server
For data population:
firebase emulators:start --export-on-exit=<data-directory>
Using data:
firebase emulators:start --import=<data-directory>
Preview channels can be used to create a temporary URL for demo'ing new features. The links expire after a certain period of time, 7 days by default. If you re-deploy to a preview channel, the site will be updated and the expiration period will be extended.
npm run build:staging and firebase hosting:channel:deploy <channel-id> where <channel-id> can be a branch- or feature-name.