Skip to content

Files

Latest commit

0fed27a · Jul 18, 2016

History

History
This branch is 1 commit ahead of, 9721 commits behind GoogleCloudPlatform/java-docs-samples:main.

managed_vms

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 12, 2016
May 11, 2016
Jul 12, 2016
Jul 12, 2016
Jul 11, 2016
Jul 12, 2016
May 11, 2016
Jun 23, 2016
May 11, 2016
May 11, 2016
Jul 12, 2016
Jul 18, 2016
May 11, 2016
May 11, 2016
Jul 12, 2016
May 11, 2016
May 11, 2016
Feb 5, 2016
Jan 27, 2016
Jan 27, 2016
Apr 4, 2016

Google App Engine Flexible Environment Java Samples

This is a repository that contains Java code samples for Google App Engine flexible environment.

See our other Google Cloud Platform GitHub repos for sample applications and scaffolding for other frameworks and use cases.

Run Locally

  1. Install the Google Cloud SDK, including the gcloud tool, and gcloud app component.

  2. Setup the gcloud tool.

    gcloud init
    
  3. Clone this repo.

    git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
    
  4. Run this project locally from the command line.

    mvn clean jetty:run
    
  5. Visit the application at http://localhost:8080.

Deploying

  1. Use the Cloud Developer Console to create a project/app id. (App id and project id are identical)

  2. Setup the gcloud tool.

    gcloud init
    
  3. Use the Admin Console to view data, queues, and other App Engine specific administration tasks.

  4. Use gcloud to deploy your app.

    mvn clean gcloud:deploy
    
  5. Congratulations! Your application is now live at your-app-id.appspot.com

Contributing changes

Licensing