Skip to content

michael-simons/biking2

Repository files navigation

biking2

Build Status Test coverage Quality Gate

NOTE: The successor to this project is biking3, which is what my instance is running these days.

Abstract

This is a project where i try out Java 8, Spring / Spring Boot and AngularJS. The project is live at biking.michael-simons.eu. To find out more, checkout the about page or start reading the series of blog posts:

Developing a web application with Spring Boot, AngularJS and Java 8

You may also want to have a look at the client companion of this app, BikingFX

Architecture

The projects architecture is completely documented inside the arc42 structure, using the AsciiDoc format from the arc42-template.

NOTE

You'll need GPSBabel to build this project without errors and to use the tracks / log database. Errors running the TracksControllerTest are the result of a missing gpsbabel binary in the path.

Per default, biking2 looks at /opt/local/bin/gpsbabel for the GPSBabel binary. This can be overwritten by adding an application.properties to the root of the project containing the following property:

biking2.gpsBabel = path/to/gpsbabel/binary

GPSBabel is available for all major operating systems, including windows. So please check if it's available on your platform if biking2 doesn't compile for you.

Also you should use the provided mvnw respectively mvnw.cmd script for building. If not, you need to export the following Java opts:

--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED