diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README.org | 10 |
2 files changed, 9 insertions, 7 deletions
@@ -1,13 +1,11 @@ CFLAGS=-Werror -Wall -ggdb -O3 $(shell pkg-config --cflags nanomsg) LDFLAGS=$(shell pkg-config --libs nanomsg) -all: norns_shell +all: norns_shell norns_load norns_upload -install: +install: norns_shell norns_load norns_upload install -D --mode=755 norns_shell /usr/local/bin/ install -D --mode=755 norns_upload /usr/local/bin/ install -D --mode=755 norns_load /usr/local/bin/ - - .PHONY: all install @@ -1,8 +1,12 @@ -* norns shell +* norns etc -Get a lua shell or supercollider shell on a norns from the command-line, similar to the shell in the maiden interface. +Three scripts useful for local development on norns (i.e., outside of the ~maiden~ web interface): -Requires nanomsg. Install with ~sudo make install~. ++ ~norns_shell~: Get a lua shell or supercollider shell on a norns from the command-line, similar to the shell in the maiden interface. This connects to the same websocket interface that ~maiden~ does. ++ ~norns_upload~: Upload a file to norns over http, just like how ~maiden~ does it. ++ ~norns_load~: Activate a norns script already on the device with ~norns.script.load(...)~ on the lua interface. + +~norns_shell~ requires nanomsg. Install everything with ~sudo make install~. #+BEGIN_SRC sh # get a lua shell |