Skip to content

Commit

Permalink
feat: rust cli
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Mar 10, 2024
1 parent 4fa4f7f commit 5c054cd
Show file tree
Hide file tree
Showing 14 changed files with 1,624 additions and 25 deletions.
11 changes: 11 additions & 0 deletions .idea/DigmaJCEFProjectPersistence.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/k6_report_ingress.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# K6 Dashboard

## Uploading Reports
## Prerequisites (for development)

Get started by running `docker compose -f dev/docker-compose.yml up -d` from within the root of this repository.
If you're not interested in participating and just want to see it working, skip to
the [quickstart section](#quickstart).

You'll require...

- [OpenJDK 21](https://adoptium.net/temurin/releases/) for [`apps`](./apps)
- [Rust](https://www.rust-lang.org/tools/install) for the [`cli`](./cli)

### Database

First, set up the PostgreSQL database contained in [`dev/docker-compose.yml`](./dev/docker-compose.yaml). Once it's up
and running, apply all database migrations using `./gradlew :apps:k6-report-ingress:flywayMigrate`.

## Quickstart

Get started by running `docker compose -f dev/docker-compose.yaml up -d` from within the root of this repository.

This will start a [TimescaleDB](https://www.timescale.com/), run the [contained k6 test](./src/test/k6/script.js) and
export the resulting data into the database.
Expand Down
2 changes: 2 additions & 0 deletions cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
client/
target/

0 comments on commit 5c054cd

Please sign in to comment.