This sample has been moved to python-docs-samples.
This is a sample app for Google App Engine that exercises the blobstore Python API.
See our other Google Cloud Platform github repos for sample applications and scaffolding for other python frameworks and use cases.
-
Install the Google Cloud SDK, including the gcloud tool, and gcloud app component.
-
Setup the gcloud tool.
gcloud components update app gcloud auth login gcloud config set project <your-app-id>
You don't need a valid app-id to run locally, but will need a valid id to deploy below.
-
Clone this repo.
git clone https://github.com/GoogleCloudPlatform/appengine-blobstore-python.git
-
Run this project locally from the command line.
dev_appserver.py appengine-blobstore-python
-
Visit the application at http://localhost:8080.
-
Use the Cloud Developer Console to create a project/app id. (App id and project id are identical)
-
Configure gcloud with your app id.
gcloud config set project <your-app-id>
-
Use the Admin Console to view data, queues, and other App Engine specific administration tasks.
-
Use gcloud to deploy your app.
gcloud preview app deploy appengine-blobstore-python/app.yaml
-
Congratulations! Your application is now live at your-app-id.appspot.com
- See CONTRIBUTING.md
- See LICENSE