Local storage browser for Google Cloud Storage and dev_appserver.py

后端 未结 3 2018
天命终不由人
天命终不由人 2021-01-02 19:29

Does anyone know if there is a version of the Google Cloud Storage storage browser (console.developers.google.com/project/apps~{application name}/storage) to use during deve

相关标签:
3条回答
  • 2021-01-02 20:11

    I was able to find the files I wrote to google cloud storage when running locally at:

         localhost:port/_ah/gcs/bucket_name/file_suffix
    

    Where port is by default 8080, and the file was written to: /bucket_name/file_suffix

    It's still not ideal for testing, but better than nothing!

    0 讨论(0)
  • 2021-01-02 20:27

    If you visit the admin server at localhost:8000 you can see the files inside of the blobstore viewer. You can tell they are GCS files because their keys will start with encoded_gs_file: but you cannot see the filenames.

    0 讨论(0)
  • 2021-01-02 20:31

    Cloud Storage Viewer is not available for local development server. GCS client library can be used to run local tests.

    0 讨论(0)
提交回复
热议问题