Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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:run

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.