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/images at master · xugenfa/java-docs-samples

Expand file tree

/

images

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

images

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main
src/main
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Google App Engine Standard Environment Images Sample

Open in Cloud Shell

This sample demonstrates how to use the Images Java API.

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

Modify the app

Using the Google Cloud SDK create a bucket

$ gsutil mb YOUR-PROJECT-ID.appspot.com
  • Edit src/main/java/com/example/appengine/images/ImageServlet.java and set your bucket name.

Running locally

This example uses the App Engine maven plugin. To run this sample locally:

 $ mvn appengine:devserver

To see the results of the sample application, open localhost:8080 in a web browser.

Deploying

In the following command, replace YOUR-PROJECT-ID with your Google Cloud Project ID and SOME-VERSION with a valid version number.

 $ mvn appengine:update -Dappengine.appId=YOUR-PROJECT-ID -Dappengine.version=SOME-VERSION
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.