Don't fork me!

Introduction

This documentation contains some help to examples from kotlin-examples repository. It’s contains some kotlin playground projects

1. Projects

1.1. kotlin-netty

# build
./mvnw
./gradlew

# run server
bash kotlin-netty/netty-server/build/install/netty-server/bin/netty-server --port=8000

# send client requests
java -jar kotlin-netty/netty-client/build/libs/netty-client-*-all.jar --port 8000 --host=192.168.0.105 --request=hello
java -jar kotlin-netty/netty-client/target/*-all.jar --port=8000 --host=192.168.0.105 --request=world!

1.2. redis-lettuce

./gradlew
java -jar build/libs/*-all.jar
bash build/libs/*-all.jar

./gradlew installDist
bash redis-lettuce/build/install/redis-lettuce/bin/redis-lettuce

./mvnw
java -jar target/*-all.jar
bash target/*-all.jar

1.3. plain-java-sockets

please, don’t use that shit, it’s all about coroutines usage..

./gradlew
java -jar build/libs/*-all.jar
bash build/libs/*-all.jar

./gradlew installDist
bash plain-java-sockets/build/install/plain-java-sockets/bin/plain-java-sockets

./mvnw
java -jar target/*-all.jar
bash target/*-all.jar

1.4. kotlin-coroutines-echo-ehlo

plain java hello-ehlo socket server using kotlin coroutines

./gradlew
java -jar build/libs/*-all.jar
bash build/libs/*-all.jar

./gradlew installDist
bash kotlin-coroutines-echo-ehlo/build/install/kotlin-coroutines-echo-ehlo/bin/kotlin-coroutines-echo-ehlo

./mvnw
java -jar target/*-all.jar
bash target/*-all.jar

1.5. netty-in-action

please, don’t use that shit, it’s all about coroutines usage..

./gradlew
java -jar build/libs/*-all.jar
bash build/libs/*-all.jar

./gradlew installDist
bash netty-in-action/build/install/netty-in-action/bin/netty-in-action

./mvnw
java -jar target/*-all.jar
bash target/*-all.jar

2. Other repos