Closed agiUnderground closed 5 years ago
Thanks. I will take a look later this week.
perhaps the example app we should explicitly set FILEUPLOAD_GCS_BUCKET otherwise the user will just get an ACL error about flask_blogging bucket access
The example app references
engine = create_engine('sqlite:////tmp/blog.db')
Why is SQLite db still necessary?
The example app references
engine = create_engine('sqlite:////tmp/blog.db')
Why is SQLite db still necessary?
I fixed it.
perhaps the example app we should explicitly set FILEUPLOAD_GCS_BUCKET otherwise the user will just get an ACL error about flask_blogging bucket access
We don't need to do this, the following code ensures that there is a default value(Flask-FileUpload):
self.bucket_name = app.config.get("FILEUPLOAD_GCS_BUCKET", "flask_fileupload")
Also check a service account permissions.
This is great feature @agiUnderground .. Thanks for your contribution ..
Hi!
You can also ask Speedy1991 to accept my PR and we will have Google Cloud Storage + Google Cloud Datastore support.