| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This sample demonstrates how to deploy an application on Google App Engine.
See the Google App Engine standard environment documentation for more detailed instructions.
• Download and initialize the Cloud SDK
gcloud init
gcloud app create
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.8.3</version>
<configuration>
<projectId>myProjectId</projectId>
<version>GCLOUD_CONFIG</version>
</configuration>
</plugin>
Note: GCLOUD_CONFIG is a special version for autogenerating an App Engine version. Change this field to specify a specific version name.
mvn package appengine:run
To use visit: http://localhost:8080/
mvn package appengine:deploy
To use visit: https://YOUR-PROJECT-ID.appspot.com
mvn verify
As you add / modify the source code (src/main/java/...) it's very useful to add unit testing to (src/main/test/...). The following resources are quite useful:
./gradlew appengineRun
To use visit: http://localhost:8080/
./gradlew appengineDeploy
| Back | FazBrowse Home | New Git URL |