README.md: add startup commands

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-04 04:18:43 +02:00
parent e9190f7879
commit a0202215aa
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -1,3 +1,21 @@
# Greg-ng
New implementation of https://github.com/Programvareverkstedet/grzegorz
## Test it out
```sh
# NixOS
nix run "git+https://git.pvv.ntnu.no/Projects/greg-ng#" -- --mpv-socket-path /tmp/mpv.sock
# Other (after git clone and rust toolchain has been set up)
cargo run -- --mpv-socket-path /tmp/mpv.sock
```
See also https://git.pvv.ntnu.no/Projects/grzegorz-clients for frontend alternatives
## Debugging
```sh
RUST_LOG=greg_ng=trace,mpvipc=trace cargo run -- --mpv-socket-path /tmp/mpv.sock
```