2024-06-22 01:55:54 -04:00
|
|
|
# FDLogUp
|
|
|
|
This project uses [Bun](https://bun.sh/) to build a client executable and to run the server with. To install use this oneliner:
|
|
|
|
```sh
|
|
|
|
curl -fsSL https://bun.sh/install | bash
|
|
|
|
```
|
|
|
|
|
|
|
|
To build the client:
|
|
|
|
```sh
|
|
|
|
cd client
|
2024-06-22 18:01:55 -04:00
|
|
|
bun install
|
2024-06-22 01:55:54 -04:00
|
|
|
bun run exe
|
|
|
|
```
|
|
|
|
|
|
|
|
To run the server:
|
|
|
|
```sh
|
|
|
|
cd server
|
2024-06-22 18:01:55 -04:00
|
|
|
bun install
|
|
|
|
# clone .env from .env.example and fill in variables
|
2024-06-22 01:55:54 -04:00
|
|
|
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.
|