https://github.com/khulnasoft/bw-status
https://github.com/khulnasoft/bw-status
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khulnasoft/bw-status
- Owner: khulnasoft
- License: bsd-3-clause
- Created: 2024-11-07T00:56:54.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-01-07T22:05:31.000Z (10 months ago)
- Last Synced: 2025-02-01T02:16:14.648Z (9 months ago)
- Language: JavaScript
- Size: 4.79 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a web application that consumes results from the [KhulnaSoft Framework
Benchmarks](https://github.com/KhulnaSoft/BenchWeb) (BW). BW 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.## Running with Docker
To build and run with [Docker Compose](https://docs.docker.com/compose/):
```
docker-compose up --build
```### Debugging the app with Intellij
To debug the app while running in Docker locally, create a new run configuration
in Intellij for remote debugging:1. Run > Edit Configurations...
2. Click the green plus sign to add a new configuration of type "Remote".
3. The default settings should work: Socket transport, attach debugger mode, localhost port 5005.
4. For "Search sources using module's classpath" select this project.
5. Save and run it by clicking the debug icon.
6. You should be able to place breakpoints, capture thread dumps, etc.## Running without Docker
To build:
```
mvn clean package
```To run with a default configuration:
```
java -jar target/bw-status.jar
```To run with a custom configuration:
```
java -jar target/bw-status.jar path/to/config.yml
```To create your own YAML config file, start by copying [the example config
file](example-config.yml) and then modify whatever settings you want. The
structure of this config file is defined by the
[ApplicationConfig](src/main/java/bw/status/config/ApplicationConfig.java)
class. Do not add your config file to source control.