omerio / simple-spring-boot-appengine-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE

Modified from : https://github.com/spring-guides/gs-spring-boot

spring-boot-appengine-app

A very simple spring-boot on appengine project

Getting Started

gcloud components install app-engine-java
  • clone this project
git clone https://github.com/loosebazooka/simple-spring-boot-appengine-app

Gradle

  • If the plugin is unable to discover the location of the Cloud SDK automatically, specify it in the configuration:

    model {
      appengine {
        tools {
          cloudSdkHome = "/path/to/cloud/sdk"
        }
      }
    }
    
  • You are now ready to run commands

    • Stage : ./gradlew appengineStage
    • Deploy : ./gradlew appengineDeploy

Maven

  • If the plugin is unable to discover the location of the Cloud SDK automatically, specify it in the configuration:
<plugin>
    <groupId>com.google.cloud.tools</groupId>
    <artifactId>appengine-maven-plugin</artifactId>
    <version>0.1.0-beta</version>
    <configuration>
        <cloudSdkPath>/path/to/cloud/sdk</cloudSdkPath>
    </configuration>
</plugin>
  • You are now ready to run commands
    • Run : mvn appengine:run
    • Stage : mvn appengine:stage
    • Deploy : mvn appengine:deploy

About

License:Apache License 2.0


Languages

Language:Java 100.0%