Upload files to Google Cloud Storage via this simple App Engine PHP Application.
- Create a project in google cloud console. https://cloud.google.com/
- Download this repo.
- Edit app.yaml and enter your project id.
application: your-project-id
- In Google cloud console browse to your project from left menu and in storage section create bucket with desired name and enter in main.php NOTE: in main.php DropzoneOptions.paramName = "unique-bucket-name-required-here"
- Setup App Engine PHP SDK: https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_PHP
- From Google App Engine Launcer click File -> Add Existing Application
- Browse to the directory where this repo was unziped.
- Select PHP as runtime.
- Press deploy or press Run to try it out on your local system