如何将现有Firebase项目数据克隆到另一个新项目? [英] How to clone an existing Firebase project data to another new project?

查看:103
本文介绍了如何将现有Firebase项目数据克隆到另一个新项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想克隆一个现有的Firebase项目,并使用一些远程配置数据到另一个新项目(没有任何远程配置数据),将其命名为ProjectB.

I want to clone an existing Firebase project, lets name it ProjectA that previously exists on Firebase console with some Remote Config data to another new project(without any Remote Config data), lets name it ProjectB.

我的问题背后的想法是,当前我已经开发了一个Android应用,该应用正在使用ProjectA中的google-service.json(Firebase配置文件)文件,因此我想创建/克隆一个新的Firebase项目ProjectB (注意::我不希望在同一项目上使用新的Firebase应用),其开头必须完全相同的

The idea behind my question is that currently I have developed an Android app that is using the google-service.json(Firebase configuration file) file from the ProjectA, so I want to create/clone a new Firebase project ProjectB(NOTE: I don't want a new Firebase app on the same project) that starts with exactly the same Remote Config data from ProjectA and then add the google-service.json from the new ProjectB to my new Android app.

我已经阅读了 firebase-cli 文档,但看起来超出了范围.

I have read the firebase-cli documentation but looks like it's out of its scope.

有人完成了类似的任务,或者有想法如何完成任务?预先感谢!

Has someone accomplished something similar like this or has an idea how can I accomplish this? Thanks in advance!

推荐答案

我刚刚创建了这颗红宝石自动执行从Web浏览器将远程配置数据从ProjectA克隆到新的ProjectB所需的手动过程.

I just created this ruby gem to automate the manual process that I needed to do from a web browser for cloning my remote config data from ProjectA to a my new ProjectB.

注意:gem实际上是Alpha版本,只考虑没有任何规则的远程配置.如果您中的某些人想对它进行分叉和改进,请随时这样做.

NOTE: The gem is really an alpha version and just consider remote config without any rules. If some of you want to fork it and improved please feel free to do that.

这篇关于如何将现有Firebase项目数据克隆到另一个新项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆