2023-04-05 15:49:40 +02:00
|
|
|
* install dependencies on Debian Bullseye
|
|
|
|
```
|
|
|
|
sudo apt install libpq-dev --no-install-recommends
|
|
|
|
```
|
2023-01-05 12:14:20 +01:00
|
|
|
|
2023-04-05 15:49:40 +02:00
|
|
|
* build
|
2023-01-05 12:14:20 +01:00
|
|
|
```
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
* run
|
|
|
|
```
|
2023-04-05 15:49:40 +02:00
|
|
|
./main 'postgresql://<user>:<secret>@<host>:<port>/<database>'
|
2023-01-05 12:14:20 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
* or run
|
2023-01-05 14:12:06 +01:00
|
|
|
```
|
2023-04-05 15:49:40 +02:00
|
|
|
./main "host=<host> port=<port> user=<user> password=<<secret>> dbname=<database>"
|
2023-01-05 14:12:06 +01:00
|
|
|
```
|