Monday, January 1, 2018

Groovy Vert.x in Intellij : Getting started

Vert.x :very interesting, language agnostic, verticles, async, fast.

 So as part of my ongoing project to run Vert.x on my Raspberry Pi (and in general learn about it). I decided to get the tutorial working with Groovy.

I read the first section and started coding once we moved to the Verticles which is what I am most interested in.

Easiest way to get started was to download the Gradle Groovy Verticle example from github. You have to actually download the entire samples project though.

Import into Intellij as new project, using Gradle.

Run the Gradle task runShadow

 http://localhost:8080

And there is is, a working verticle. No apache installation needed, everything is included in the shadow Jar.