An open API service indexing awesome lists of open source software.

https://github.com/guillainbisimwa/cddf


https://github.com/guillainbisimwa/cddf

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Hello Google App Engine for Java™

[![Build
Status](https://travis-ci.org/GoogleCloudPlatform/appengine-try-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/appengine-try-java)

This sample shows you how to deploy a simple "Hello World" application to
[Google App Engine](https://cloud.google.com/appengine/docs/java/).

## Before you begin

1. Download and install the [Google Cloud
SDK](https://cloud.google.com/sdk/docs/).
1. [Install and configure Apache Maven](http://maven.apache.org/index.html).
1. [Create a new Google Cloud Platform project, or use an existing
one](https://console.cloud.google.com/project).
1. Initialize the Cloud SDK.

gcloud init

1. Install the Cloud SDK `app-engine-java` component.

gcloud components install app-engine-java

## Deploying to App Engine

To run the application locally, use the [Maven App Engine
plugin](https://cloud.google.com/appengine/docs/java/tools/using-maven).

mvn clean appengine:run

View the app at [localhost:8080](http://localhost:8080).

To deploy the app to App Engine, run

mvn clean appengine:deploy

After the deploy finishes, you can view your application at
`https://YOUR_PROJECT.appspot.com`, where `YOUR_PROJECT` is your Google Cloud
project ID. You can see the new version deployed on the [App Engine section of
the Google Cloud Console](https://console.cloud.google.com/appengine/versions).

## Next steps

1. Read the [App Engine
documentation](https://cloud.google.com/appengine/docs/java/).
1. Explore the other [Google Cloud Platform sample
applications](https://github.com/GoogleCloudPlatform/java-docs-sample) for
Java™.

## Contributing changes

* See [CONTRIBUTING.md](CONTRIBUTING.md)

* ## Licensing

* See [LICENSE](LICENSE)

Java is a registered trademark of Oracle Corporation and/or its affiliates.