Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
gradle/wrapper
src/main
README.md
build.gradle
gradlew
gradlew.bat
pom.xml
settings.gradle

README.md

Google App Engine Standard Environment Hello World Sample

Java 7 runtime support on App Engine standard was deprecated on December 13, 2017 and will be shut down entirely on January 16, 2019. It is replaced by the Java 8 Runtime Environment.

Open in Cloud Shell

Samples for the Java 8 runtime can be found here.

This sample demonstrates how to deploy an application on Google App Engine.

See the Google App Engine standard environment documentation for more detailed instructions.

Setup

Use either:

  • gcloud init
  • gcloud beta auth application-default login

Maven

Running locally

$ mvn appengine:run

Deploying

$ mvn appengine:deploy

Gradle

Running locally

$ gradle appengineRun

If you do not have gradle installed, you can run using ./gradlew appengineRun.

Deploying

$ gradle appengineDeploy

If you do not have gradle installed, you can deploy using ./gradlew appengineDeploy.