Looking at dev_appserver , it looks like you can specify a path, or it will calculate the default value based on the OS used.
blobstore_path = options.blobstore_path or os.path.join(storage_path, 'blobs')
He then went this way to blobstore_stub (GCS storage is supported by the blobstore stub), which seems to be tricking files with its blobstore key.
def _FileForBlob(self, blob_key): """Calculate full filename to store blob contents in. This method does not check to see if the file actually exists. Args: blob_key: Blob key of blob to calculate file for. Returns: Complete path for file used for storing blob. """ blob_key = self._BlobKey(blob_key) return os.path.join(self._DirectoryForBlob(blob_key), str(blob_key)[1:])
For example, I use ubuntu and start with dev_appserver.py --storage_path=~/tmp , then I could find the files in ~ / tmp / blobs and datastore under ~ / tmp / datastore.db. In addition, you can go to the local administrative console, the link to view blobstore will also display gcs files.
source share