Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 884 Bytes

File metadata and controls

28 lines (19 loc) · 884 Bytes

App Identity sample for Google App Engine

This sample demonstrates how to use the App Identity APIs on Google App Engine

Running locally

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

$ mvn gcloud:run

Deploying

In the following command, replace YOUR-PROJECT-ID with your Google Cloud Project ID.

$ mvn gcloud:deploy -Dgcloud.gcloud_project=YOUR-PROJECT-ID

Setup

To save your project settings so that you don't need to enter the -Dgcloud.gcloud_project=YOUR-CLOUD-PROJECT-ID parameters, you can:

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

You will now be able to run

$ mvn gcloud:deploy

without the need for any additional parameters.