A sample project for Ktor running under Google App Engine standard infrastructure with Maven build script.
- Java SDK 8 or later
- Google Cloud SDK
Run this project under local dev mode with:
./mvnw appengine:run
Then, navigate to http://localhost:8080/ to see the sample home page.
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