Skip to content

Latest commit

 

History

History
 
 

maven-google-appengine-standard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maven Google Appengine Standard

Sample project for Ktor running under Google App Engine standard infrastructure with Maven build script.

Prerequisites

Running

Run this project under local dev mode with:

./mvnw appengine:run

And navigate to http://localhost:8080/ to see the sample home page.

Deploying

Use Google Cloud SDK to create application similarly to Google App Engine for Java Quickstart:

Install all the Google Cloud components and login into your account:

gcloud init
gcloud components install app-engine-java
gcloud components update  
gcloud auth application-default login

Create project and application:

gcloud projects create <unique-project-id> --set-as-default
gcloud app create

Then deploy your application with:

./mvnw appengine:deploy

You can checkout deployed version of this sample application at https://ktor-maven-sample.appspot.com