Development way
- run
./gradlew build
- run
./gradle bootRun
- send some data to make sure that server works
echo -e "MATCH(n) RETURN n;\r" | nc localhost 9999
Build for production
- run
./gradlew bootJar
will cook fat jar (single file with all dependecies inside)
To provide specific config run
java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --spring.config.location=/path/to/config
Or change single property like port number
java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --server.socketPort=11111
- run
./gradlew jacocoTestReport
- open build/reports/coverage/index.html