Skip to content

Update READMEs with source deploy functionality #2989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions appengine-java11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ To switch to an Open JDK 11 in a Cloud shell session, you can use:
```

## Java 11 runtime
One way to deploy to App Engine Java 11 is directly from source.

The simplest way to deploy to App Engine Java 11 is using an executable [Uber JAR][uber-jar]. App Engine will automatically configure the `entrypoint` to run the JAR file.
* [`springboot-helloworld`](springboot-helloworld): Deploy a spring-boot application from source
* [`http-server`](http-server): Deploy an http application from source

* [`springboot-helloworld`](springboot-helloworld): Build a fat JAR with Spring Boot
* [`http-server`](http-server): Build a JAR using the Maven JAR Plugin
Another way is using the Maven App Engine Plugin to deploy an executable [Uber JAR][uber-jar]. App Engine will automatically configure the `entrypoint` to run the JAR file. Use this method when your application requires dependencies that are located locally, such as the [`appengine-simple-jetty-main`](appengine-simple-jetty-main) artifact.

* [`gaeinfo`](gaeinfo): Build a JAR using the Maven JAR Plugin

In addition, App Engine allows you to execute the `java` command directly in the `app.yaml` `entrypoint` field, so you can further customize your app's startup.

Expand Down
7 changes: 3 additions & 4 deletions appengine-java11/http-server/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Standalone HTTP Server on Google App Engine Standard with Java 11

This sample shows how to deploy an application to Google App Engine using the
a fat jar. There is no `entrypoint` field listed in the [`app.yaml`](src/main/appengine/app.yaml),
as the application is a single fat jar with the correct MainClass field in the MANIFEST.
This sample shows how to deploy an application to Google App Engine from source. The `entrypoint` field listed in the [`app.yaml`](src/main/appengine/app.yaml) is not required,
as GAE will determine the entrypoint by searching the `target` directory for the .jar file with a Main-Class Manifest entry.

## Setup

Expand All @@ -11,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploy to App Engine Standard

```
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/kotlin-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/micronaut-helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/quarkus-helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/sparkjava-helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/springboot-helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

To view your app, use command:
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cd java-docs-samples/appengine-java11/task-handler

- Deploy the app
```
mvn clean package appengine:deploy
gcloud app deploy
```

## Run the Sample Using the Command Line
Expand Down
2 changes: 1 addition & 1 deletion appengine-java11/vertx-helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
## Deploying

```bash
mvn clean package appengine:deploy
gcloud app deploy
```

## See the application page
Expand Down