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?


- GC_FOR_ALLOC 是否更“严重"?在调查内存使用情况时? 2022-01-01
- 未找到/usr/local/lib 中的库 2022-01-01
- 如何指定 CORS 的响应标头? 2022-01-01
- 如何使 JFrame 背景和 JPanel 透明且仅显示图像 2022-01-01
- 获取数字的最后一位 2022-01-01
- Eclipse 的最佳 XML 编辑器 2022-01-01
- 将 Java Swing 桌面应用程序国际化的最佳实践是什么? 2022-01-01
- 在 Java 中,如何将 String 转换为 char 或将 char 转换 2022-01-01
- 转换 ldap 日期 2022-01-01
- java.lang.IllegalStateException:Bean 名称“类别"的 BindingResult 和普通目标对象都不能用作请求属性 2022-01-01