How do I enable Google Cloud Storage on my local development server?(如何在本地开发服务器上启用 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在本地开发服务器上启用 Google Cloud Storage?
基础教程推荐
- 存储 20 位数字的数据类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
