Skip to content

Files

Latest commit

 

History

History
 
 

appengine

README.md

Google App Engine Samples

This section contains samples for Google Cloud Storage. Most of these samples have associated documentation that is linked within the docstring of the sample itself.

Running the samples locally

  1. Download the Google App Engine Python SDK for your platform.

  2. Many samples require extra libraries to be installed. If there is a requirements.txt, you will need to install the dependencies with pip.

     pip install -t lib -r requirements.txt
    
  3. Use dev_appserver.py to run the sample:

     dev_appserver.py app.yaml
    
  4. Visit http://localhost:8080 to view your application.

Some samples may require additional setup. Refer to individual sample READMEs.

Deploying the samples

  1. Download the Google App Engine Python SDK for your platform.

  2. Many samples require extra libraries to be installed. If there is a requirements.txt, you will need to install the dependencies with pip.

     pip install -t lib -r requirements.txt
    
  3. Use appcfg.py to deploy the sample, you will need to specify your Project ID and a version number:

     appcfg.py update -A your-app-id -V your-version app.yaml
    
  4. Visit https://your-app-id.appost.com to view your application.

Additional resources

For more information on App Engine:

https://cloud.google.com/appengine

For more information on Python on App Engine:

https://cloud.google.com/appengine/docs/python