GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-docs-samples/managed_vms at master · cksharma/python-docs-samples

Expand file tree

/

managed_vms

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

managed_vms

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
analytics
analytics
 
 
cloudsql
cloudsql
 
 
datastore
datastore
 
 
disk
disk
 
 
django_cloudsql
django_cloudsql
 
 
endpoints
endpoints
 
 
extending_runtime
extending_runtime
 
 
extending_runtime_compat
extending_runtime_compat
 
 
hello_world
hello_world
 
 
hello_world_compat
hello_world_compat
 
 
hello_world_django
hello_world_django
 
 
kinto
kinto
 
 
mailgun
mailgun
 
 
mailjet
mailjet
 
 
memcache
memcache
 
 
pubsub
pubsub
 
 
sendgrid
sendgrid
 
 
static_files
static_files
 
 
storage
storage
 
 
twilio
twilio
 
 
websockets
websockets
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

README.md

Outline

Google App Engine Managed VMs Python Samples

These are samples for using Python on Google App Engine Managed VMs. These samples are typically referenced from the docs.

See our other Google Cloud Platform github repos for sample applications and scaffolding for other frameworks and use cases.

Run Locally

Some samples have specific instructions. If there is a README in the sample folder, pleaese refer to it for any additional steps required to run the sample.

In general, the samples typically require:

  1. Install the Google Cloud SDK, including the gcloud tool, and gcloud app component.

  2. Setup the gcloud tool. This provides authentication to Google Cloud APIs and services.

    gcloud init
    
  3. Clone this repo.

    git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
    cd python-docs-samples/managed_vms
    
  4. Open a sample folder, create a virtualenv, install dependencies, and run the sample:

    cd hello-world
    virtualenv env
    source env/bin/activate
    pip install -r requirements.txt
    python main.py
    
  5. Visit the application at http://localhost:8080.

Deploying

Some samples in this repositories may have special deployment instructions. Refer to the readme in the sample directory.

  1. Use the Google Developers Console to create a project/app id. (App id and project id are identical)

  2. Setup the gcloud tool, if you haven't already.

    gcloud init
    
  3. Use gcloud to deploy your app.

    gcloud preview app deploy app.yaml
    
  4. Congratulations! Your application is now live at your-app-id.appspot.com

Contributing changes

  • See CONTRIBUTING.md

Licensing

  • See LICENSE
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.