A Kotlin app, which can easily be deployed to Scalingo.
Make sure you have Java and Maven installed.
$ git clone https://github.com/Scalingo/sample-kotlin.git $ cd sample-kotlin $ mvn install $ java -jar build/libs/sample-kotlin-1.0.jar
Your app should now be running on localhost:5000.
If you're going to use a database, ensure you have a local
.env file that reads something like this:
Deploying to Scalingo
$ scalingo create my-kotlin-app $ git push scalingo master
For more information about using Java and Kotlin on Scalingo, see this article: Java on Scalingo.