This is a web application that consumes results from the TechEmpower Framework Benchmarks (TFB). TFB may be configured to upload its results files to some other server between tests and after a full run, and this application this is meant to be that other server.
To build and run with Docker Compose:
docker-compose up --build
To debug the app while running in Docker locally, create a new run configuration in Intellij for remote debugging:
- Run > Edit Configurations...
- Click the green plus sign to add a new configuration of type "Remote".
- The default settings should work: Socket transport, attach debugger mode, localhost port 5005.
- For "Search sources using module's classpath" select this project.
- Save and run it by clicking the debug icon.
- You should be able to place breakpoints, capture thread dumps, etc.
To build:
mvn clean package
To run with a default configuration:
java -jar target/tfb-status.jar
To run with a custom configuration:
java -jar target/tfb-status.jar path/to/config.yml
To create your own YAML config file, start by copying the example config file and then modify whatever settings you want. The structure of this config file is defined by the ApplicationConfig class. Do not add your config file to source control.