在Mac上的哪里找到.firebaserc文件? [英] Where to find .firebaserc file on mac?

查看:48
本文介绍了在Mac上的哪里找到.firebaserc文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程新手,也是Firebase的新手.我一直在尝试编写Firebase云功能.我已经在开发环境中成功测试了它,现在正尝试在生产环境中进行部署.就我而言,两者是不同的实例.我试图重新初始化firebase,以为它将要求我将index.js与新数据库相关联,但是它跳过了它.我了解".firebaseerc"文件中包含"DB"配置.但是我在项目目录的任何地方都找不到它.有人请帮助我吗?

I am new to programming and new to firebase as well. I have been trying to write firebase cloud function. I tested it successfully in development env and now I am trying to deploy in production env. In my case, both are different instances. I tried to re-initialize firebase thinking it will ask me to associate index.js to new DB but it skipped it. I understand that "DB" configuration is in .firebaseerc file. But I can't find it anywhere in my project directory. Anyone please help me?

推荐答案

包含功能"文件夹的项目文件夹中将包含.firebaserc文件.在MAC上,您可以通过按Shift + Command +.(点)

Your project folder that contains your "functions" folder will have the .firebaserc file in it. On a MAC you can see the file by pressing Shift + Command + .(dot)

这篇关于在Mac上的哪里找到.firebaserc文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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