Closed mdxs closed 10 years ago
Similar to https://github.com/gae-init/gae-init/pull/97 we can initialize the Config.bucket_name with something from the app_identity (as found in the google.appengine.api).
Config.bucket_name
app_identity
google.appengine.api
See https://developers.google.com/appengine/docs/python/googlecloudstorageclient/activate?hl=nl#Using_the_default_Gcs_bucket which also explains that new applications, since GAE Python SDK v1.9.0, receive a default bucket (with a free quota; I believe of 5 GB). For existing apps, the link provides instructions on how to create the Google Cloud Storage (GCS) bucket by hand.
Even though more explanation needed on how to use that one.. but I guess it will come in the future at one point in the docs :)
Similar to https://github.com/gae-init/gae-init/pull/97 we can initialize the
Config.bucket_name
with something from theapp_identity
(as found in thegoogle.appengine.api
).See https://developers.google.com/appengine/docs/python/googlecloudstorageclient/activate?hl=nl#Using_the_default_Gcs_bucket which also explains that new applications, since GAE Python SDK v1.9.0, receive a default bucket (with a free quota; I believe of 5 GB). For existing apps, the link provides instructions on how to create the Google Cloud Storage (GCS) bucket by hand.