Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.17 KB

Template of empty project for Kotlin

To understand the Akka concepts that are the basis for this example, see Development Process in the documentation.

This project contains the skeleton to create an Akka service using the Kotlin language. To understand more about these components, see Developing services.

You are supposed to change empty-service and the package name com.example to your own names.

Use Maven to build your project:

mvn compile

To start your service locally, run:

mvn compile exec:java

You can use the Akka Console to create a project and see the status of your service.

Build container image:

mvn clean install -DskipTests

Install the akka CLI as documented in Install Akka CLI.

Deploy the service using the image tag from above mvn install:

akka service deploy empty-service empty-service:tag-name --push

Refer to Deploy and manage services for more information.