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

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

问题描述

我想使用GCS存储桶作为我的blobstore的支持,但我无法弄清楚如何在我的开发服务器上设置一个。

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

解决方案

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



顺便说一句,它似乎没有记录在任何地方浏览开发服务器存储中的文件。您可以通过在本地开发服务器的数据存储查看器管理访问中选择 __ GsFileInfo __ 实体来完成此操作。

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...

解决方案

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.

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云端存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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