829 B
829 B
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