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-java8/guestbook-cloud-datastore at main · ludoch/java-docs-samples

Expand file tree

/

guestbook-cloud-datastore

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

guestbook-cloud-datastore

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

appengine/guestbook-cloud-datastore

Open in Cloud Shell

An App Engine guestbook using Java, Maven, and the Cloud Datastore API via google-cloud-java.

Please ask questions on StackOverflow.

Running Locally

First, pick a project ID. You can create a project in the [Cloud Console] if you'd like, though this isn't necessary unless you'd like to deploy the sample.

Second, modify Persistence.java: replace your-project-id-here with the project ID you picked.

Then start the Cloud Datastore Emulator:

gcloud beta emulators datastore start --project=YOUR_PROJECT_ID_HERE

Finally, in a new shell, set the Datastore Emulator environmental variables and run

mvn clean appengine:run

Deploying

mvn clean package appengine:deploy
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.