aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-26 21:27:03 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-26 21:27:03 -0700
commit7b7e26fb444b488bc2fb6167a68079e228504193 (patch)
tree43c7e1758e2bf806b2d931a00101d332091fddbe /README.md
parent02ced6640015d1373420d8a5a6b242471a999576 (diff)
cli option to set ssh destination
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 040e3ea..d7a7d7f 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,26 @@
work in progress
build, install, and run using `make`:
-```
+```sh
make
sudo make install
remote_plot
```
build and run without make:
-```
+```sh
cc -Wall $(pkg-config --cflags --libs libssh plplot gtk4) -lm -o remote_plot remote_plot.c
./remote_plot
```
+usage
+```sh
+# use default ssh destination
+./remote_plot
+# use another ssh destination
+./remote_plot -d 10.0.0.7
+```
+
infrastructure configs not included yet:
- raspberry pi:
- /etc/wireguard/wg0.conf wireguard config