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/datastore at master · civex/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

..
cloud-client
cloud-client
 
 
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Datastore Samples

Open in Cloud Shell

This directory contains sample code used in Google Cloud Datastore documentation. Included here is a sample command line application, TaskList, that interacts with Datastore to manage a to-do list.

Run the TaskList sample application.

  1. Ensure that you have:
  • Created a Google Developers Console project with the Datastore API enabled. Follow these instructions to get your project set up.
  • Installed the Google Cloud SDK and run the following commands in command line: gcloud auth application-default login and gcloud config set project [YOUR PROJECT ID].
  • Installed Maven and Java 7 (or above).
  1. Compile the program by typing mvn clean compile in command line.

  2. Run the program by typing mvn exec:java in command line. In addition to listing tasks via this command line interface, you can view tasks you create in the Google Cloud Developer's Console.

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.