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 — java-docs-samples/appengine/datastore at master · Hangus/java-docs-samples

Expand file tree

/

datastore

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

datastore

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
indexes-exploding
indexes-exploding
 
 
indexes-perfect
indexes-perfect
 
 
indexes
indexes
 
 
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Google Cloud Datastore Sample

This sample demonstrates how to use Google Cloud Datastore from Google App Engine standard environment.

Running locally

This example uses the App Engine Maven plugin. To run this sample locally:

$ mvn appengine:devserver

To see the results of the sample application, open localhost:8080 in a web browser.

Deploying

In the following command, replace YOUR-PROJECT-ID with your Google Cloud Project ID and SOME-VERSION with a valid version number.

$ mvn appengine:update -Dappengine.appId=YOUR-PROJECT-ID -Dappengine.version=SOME-VERSION

Setup

To save your project settings so that you don't need to enter the parameters, you can:

  1. Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name.
  2. Update the <version> tag in src/main/webapp/WEB-INF/appengine-web.xml with your version name.

You will now be able to run

$ mvn appengine:update

without the need for any additional parameters.

You are visitor 01402775 — 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.