Don't fork me!

1. Introduction

in progress…​

This repo contains some hints and examples for development with lightbend:

  • akka

  • play

  • scala

  • lagom

Initially generated by using generator-jvm yeoman generator (kotlin-parent-multi-project)

2. other repos

3. Implementation

3.1. prepare environment

To avoid some JDK8 Cassandra issue, please use java version 1.8.0_152

3.2. lagom-maven-1.2.0

mvn archetype:generate -DarchetypeGroupId=com.lightbend.lagom \
  -DarchetypeArtifactId=maven-archetype-lagom-java -DarchetypeVersion=1.2.0

# answer a questions...

cd lagom-mavemn-1.2.0/
mvn -N io.takari:maven:wrapper

./mvnw clean package

./mvnw lagom:runAll

- http :9000/api/hello/Maksimko

3.3. lagom-maven

mvn archetype:generate -DarchetypeGroupId=com.lightbend.lagom \
  -DarchetypeArtifactId=maven-archetype-lagom-java -DarchetypeVersion=1.4.7

# answer a questions...

cd lagom-mavemn/
mvn -N io.takari:maven:wrapper

./mvnw clean package

./mvnw lagom:runAll

- http :9000/api/hello/Maksimko

3.4. akka-quickstart-scala

fetch quickstart project
wget -qO app.zip "https://example.lightbend.com/v1/download/akka-quickstart-scala?name=akka-quickstart-scala"

unzip app.zip -d .
cd akka-quickstart-scala/
./sbt compile