Go to file
2024-06-22 17:02:19 -05:00
client small thing for the client 2024-06-22 17:02:13 -05:00
server pm2 file, grafana dasboard file, readme 2024-06-22 00:55:54 -05:00
.editorconfig init 2024-06-20 20:01:32 -05:00
.gitignore init 2024-06-20 20:01:32 -05:00
docker-compose.yml update docs and docker compose 2024-06-22 17:01:55 -05:00
grafana-dashboard.json grafana fixes 2024-06-22 17:02:19 -05:00
grafana-datasource.json grafana fixes 2024-06-22 17:02:19 -05:00
LICENSE init 2024-06-20 20:01:32 -05:00
README.md grafana fixes 2024-06-22 17:02:19 -05:00

FDLogUp

This project uses Bun to build a client executable and to run the server with. To install use this oneliner:

curl -fsSL https://bun.sh/install | bash

To build the client:

cd client
bun install
bun run exe

To run the server:

cd server
bun install
# clone .env from .env.example and fill in variables
bun start

The provided docker-compose file sets up a PostgreSQL server and a Grafana instance. There is also a Grafana dashboard JSON file for an example use of the data. Make sure to import the server/schema.sql into PostgreSQL before using it. You can import the datasource into grafana with the command:

curl -X "POST" "http://localhost:3000/api/datasources" -H "Content-Type: application/json" --user admin:admin --data-binary @grafana-datasource.json