diff options
author | gretchen <gretchen@gnar.cool> | 2019-11-18 16:36:58 -0800 |
---|---|---|
committer | gretchen <gretchen@gnar.cool> | 2019-11-18 16:37:22 -0800 |
commit | f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868 (patch) | |
tree | a94f4b7a8e522400ce7c741ff03255da608b2ddf | |
parent | 228baf459707bae2ad67029a71fbfad674d7324a (diff) | |
download | norns-etc-f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868.tar.gz norns-etc-f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868.zip |
Improve readme and Makefile
-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 |