Sergey Mashkov 3d25ff132c ktor: fix username/password (#2700) 8 years ago
..
.mvn 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
src 3d25ff132c ktor: fix username/password (#2700) 8 years ago
README.md 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
benchmark_config.json 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
mvnw 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
pom.xml 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
setup.sh 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago

README.md

Setup

  • Java 8
  • MySQL server

Requirements

  • Maven 3
  • JDK 8
  • Kotlin
  • ktor
  • netty
  • hikariCP

Maven is downloaded automatically via Maven Wrapper script (mvnw), add dependencies are specified in pom.xml so will be downloaded automatically from maven central and jcenter repositories.

Deployment

Run maven to build a bundle

./mvnw package

Once bundle build complete and mysql server is running you can launch the application

java -jar target/tech-empower-framework-benchmark-1.0-SNAPSHOT.jar

Please note that the server holds tty so you may need nohup. See setup.sh for details.

Contact

Sergey Mashkov

Ilya Ryzhenkov

Slack ktor channel https://kotlinlang.slack.com/messages/ktor (you need an invite to join)