我可以在我的本地开发服务器上使用gsutil吗? [英] Can I use gsutil with my local development server?

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

问题描述

我正在开发一个使用云存储的谷歌应用程序引擎应用程序。我想在应用程序的每个用户共享的云存储上拥有一组基本文件。我知道我可以使用gsutil将这些文件复制到生产服务器。

但我想在我的本地开发服务器上测试我的应用程序,所以我也需要这些文件在dev云存储中。我无法找到任何方法来复制文件。有没有一种方法可以使用gsutil将文件复制到开发服务器的云存储模拟? 解决方案

我们目前不支持完整的GCS API在本地开发服务器中。



最好的办法是在本地运行时写入不同的存储桶。


I'm developing a google app engine application that uses cloud storage. I want to have a base set of files on the cloud storage that are shared by each user of the application. I know I can use gsutil to copy these files to the production server.

But I would like to test my application on my local development server, so I need these files in the dev cloud storage as well. I can't find any way to copy the files. Is there a way to use gsutil to copy files to the development server's cloud storage simuation?

解决方案

We don't currently support the full GCS API in the local dev server.

Your best bet is to probably just write to a different bucket when running locally for now.

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

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