Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agree on how we want to manually handle fixture data locally #19

Open
ryanolee opened this issue Sep 23, 2022 · 1 comment
Open

Agree on how we want to manually handle fixture data locally #19

ryanolee opened this issue Sep 23, 2022 · 1 comment
Labels
decision A decision to be made amongst the team enhancement New feature or request

Comments

@ryanolee
Copy link
Collaborator

Currently we handle migrations using the firebase cli locally (Under firebase/emulator_data using the export:firebase script which is later committed). This gets loaded into the app on each start up in the start:firebase script.

This issue aims to confirm if we want to save the state on exiting so that local development data is not lost when doing so (--export-on-exit). See: https://mukhtharcm.com/firebase-emulator-persist-data/ .

Or if we are ok with manually exporting the firebase data using export:firebase when we want to export things locally

@ryanolee ryanolee added enhancement New feature or request decision A decision to be made amongst the team labels Sep 23, 2022
@LodenH16
Copy link
Collaborator

LodenH16 commented Sep 27, 2022

I think persisting local emulator data is a great idea and will help development a lot.

We should also create some mock data to seed the emulator when it initializes. We could also have a command to wipe and re-seed the emulator in case anything gets too borked to repair, I know I would make use of that 😅

This also is an excellent opportunity to commit to a "schema" for how headmate data will be stored, useful for #9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decision A decision to be made amongst the team enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants