aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Winston2020-07-22 21:03:22 -0400
committerBen Winston2020-07-22 21:03:22 -0400
commitbf9fb464924118e5dd73c9fe96ca2ba08485e5b6 (patch)
treee0121e4222977ebef13e684c463d7c3a49bf0f70
parent9e4a4403853f29fde33288ca2ebd0a33e9b5f034 (diff)
add a Makefile to make installs straightforward
-rw-r--r--Makefile8
-rw-r--r--README.md14
-rw-r--r--roku.config2
3 files changed, 22 insertions, 2 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..033b381
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+configure:
+ if [ ! -d ~/.config/roku ]; \
+ then mkdir ~/.config/roku; \
+ fi
+ cp roku.config ~/.config/roku
+
+install:
+ cp roku-cli.py /usr/local/bin/roku
diff --git a/README.md b/README.md
index fa862fa..6ba4b06 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# roku-cli
a command line remote for Roku
+## usage
- [h]ome
- [b]ack
- [p]lay
@@ -9,6 +10,15 @@ a command line remote for Roku
- arrow keys
- enter key
- < and > (rew and ff)
-- / (enter typing mode, enter to exit)
+- / (switch to typing mode, 'enter' to exit)
-coming "soon": config file to change all that stuff
+## install
+replace the default IP address in `roku.config` with the IP address of
+the roku. then run:
+
+```
+make
+sudo make install
+```
+
+program can be started using `roku`
diff --git a/roku.config b/roku.config
new file mode 100644
index 0000000..31fb8af
--- /dev/null
+++ b/roku.config
@@ -0,0 +1,2 @@
+[general]
+roku_ip=192.168.1.1