独立开发和制作Firebase环境 [英] Separate dev and prod Firebase environment

查看:131
本文介绍了独立开发和制作Firebase环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑使用Firebase作为MBaaS,但是我找不到任何可靠的解决方案来解决以下问题:

我想设置两个独立的Firebase环境,一个用于开发,另一个用于生产,但我不想在开发和生产环境之间手动拷贝功能(例如远程配置设置,通知规则等)。

有什么工具或方法可以依靠吗?从头开始设置远程配置或通知规则可能是一项艰巨的任务,风险太大。



有什么建议吗?有没有更好的方法比有两个单独的环境?

解决方案

我目前不使用Firebase,但考虑它像你自己。看起来要走的路是在控制台上创建一个完全独立的项目。在旧的Firebase网站上有一篇博文向我们推荐,但现在看起来被删除了。 https:// web.archive.org/web/20160310115701/https://www.firebase.com/blog/2015-10-29-managing-development-environments.html



另外这个讨论建议:
https:// groups。 google.com/forum/#!msg/firebase-talk/L7ajIJoHPcA/7dsNUTDlyRYJ


I am considering using Firebase as MBaaS, however I couldn't find any reliable solution to the following problem:

I would like to set up two separate Firebase environment, one for development and one for production, but I don't want to do manual copy of features (eg. remote configuration setup, notification rules, etc.) between the development and production environment.

Is there any tool or method I can rely on? Setting up remote configuration or notification rules from scratch can be daunting task and too risky.

Any suggestions? Is there a better approach than having two separate environments?

解决方案

I'm not currently using Firebase, but considering it like yourself. Looks like the way to go is to create a completely separate project on the console. There was a blogpost up recommending this on the old Firebase site, looks to be removed now though. https://web.archive.org/web/20160310115701/https://www.firebase.com/blog/2015-10-29-managing-development-environments.html

Also this discussion recommending same: https://groups.google.com/forum/#!msg/firebase-talk/L7ajIJoHPcA/7dsNUTDlyRYJ

这篇关于独立开发和制作Firebase环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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