From 7c5252d65ddcc94ed69da489c9ca068981db7e28 Mon Sep 17 00:00:00 2001 From: gretchen Date: Mon, 18 Nov 2019 16:41:48 -0800 Subject: Readme indentation --- README.org | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index b7e273a..0d50bef 100644 --- a/README.org +++ b/README.org @@ -3,19 +3,18 @@ Three scripts useful for local development on norns (i.e., outside of the ~maiden~ web interface): + ~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. + #+BEGIN_SRC sh + # get a lua shell + ./norns_shell + ./norns_shell ws://norns.local:5555 + # get a supercollider shell + ./norns_shell ws://norns.local:5556 + #+END_SRC + ~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 -./norns_shell -./norns_shell ws://norns.local:5555 -# get a supercollider shell -./norns_shell ws://norns.local:5556 -#+END_SRC - There's an example in ~example/~ of a project with a Makefile that uploads and loads when ~M-x compile~'d in emacs. This piece of emacs lisp may be helpful if you'd like to ~C-c C-c~ instead. #+BEGIN_SRC lisp -- cgit v1.2.1