Can I use gsutil with my local development server?

馋奶兔 提交于 2019-12-07 09:36:37

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/29902459/can-i-use-gsutil-with-my-local-development-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!