Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.12 KB

File metadata and controls

46 lines (31 loc) · 1.12 KB

Maven Google Appengine Standard

A 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

Then, 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 the project and application:

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

Then deploy your application with:

./mvnw appengine:deploy