From a0202215aa1dd6ffe7c0f1b797ff0c077c7b1222 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 4 Aug 2024 04:18:43 +0200 Subject: [PATCH] README.md: add startup commands --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 743e4ff..ad81ee0 100644 --- a/README.md +++ b/README.md @@ -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 +```