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

Create Staging Environment for Firebase #2

Open
VeritasDev opened this issue Sep 1, 2019 · 2 comments
Open

Create Staging Environment for Firebase #2

VeritasDev opened this issue Sep 1, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@VeritasDev
Copy link
Owner

I need to create a copy of the prod Firebase instance to use as an environment for other devs to work on the app. I did not want to expose the prod server just yet as I do not know the extent to which it will cost me traffic-wise until it goes live. I'm also trying to avoid folks with ill intentions taking the app and trying to run up the request limits/traffic artificially - not sure how this whole Firebase thing works yet. :)

@VeritasDev VeritasDev added the enhancement New feature or request label Sep 1, 2019
@VeritasDev VeritasDev self-assigned this Sep 1, 2019
VeritasDev pushed a commit that referenced this issue Oct 3, 2019
@ingramdaniel5
Copy link

Hello! Comp Sci major whos a big fan with not enough time to be able to assist. But a suggestion to this still open issue (if it's still prevelant).

Have you tried exporting the current firebase db and putting it in a sub folder at the repo's highest directory (be sure to omit all your account info if thats included in the export). Then just ammend the README to have the location where individual firebase account credentials can be entered in the api calling classes. Firebase has a free trial plan thats more then enough for a single dev to test on their own. Contributers can just get the free version and manipulate their own db as to not interfere with public operations.

Best of luck!

@mdjarv
Copy link

mdjarv commented Jan 16, 2020

If you are running your firestore in GCP you should be able to export your data to a storage bucket, and then from there it might be possible to distribute the data.

Make sure your gcloud command is configured for the correct GCP project, and then you export using:

gcloud firestore export gs://[BUCKET_NAME]

Reference, and details on how to only export specific collections: https://firebase.google.com/docs/firestore/manage-data/export-import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants