如何在本地开发服务器上启用 Google Cloud Storage? [英] How do I enable Google Cloud Storage on my local development server?

查看:38
本文介绍了如何在本地开发服务器上启用 Google Cloud Storage?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 GCS 存储桶作为我的 blobstore 的支持,但我不知道如何在我的开发服务器上设置一个.

I want to use a GCS bucket as the backing for my blobstore but I cannot figure out how to set one up on my development server.

有使用实时服务器上的开发人员控制台执行此操作的说明,但我找不到有关如何在本地开发计算机上执行此操作的任何信息...

There are instructions for doing this using the developers console on the live server, but I can't find anything about how to do it on my local development machine...

推荐答案

原来你根本不需要执行任何设置.我只是假设在使用 blobstore 上传时有一个具有特定名称的文件,并且是自动为我创建的.

Turns out you don't need to perform any setup at all. I just assumed there was one with particular name when uploading using the blobstore and one was created for me automatically.

顺便说一句,似乎没有任何地方记录您如何浏览开发服务器存储中的文件.您可以通过在 Datastore Viewer 管理员访问本地开发服务器的权限中选择 __GsFileInfo__ 实体来实现.

Incidentally, it does not seem to be documented anywhere how you can browse files in the storage of the development server. You can do it by selecting the __GsFileInfo__ entity in the Datastore Viewer admin access to your local dev server.

这篇关于如何在本地开发服务器上启用 Google Cloud Storage?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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