aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorgretchen <gretchen@gnar.cool>2019-11-18 16:41:48 -0800
committergretchen <gretchen@gnar.cool>2019-11-18 16:41:48 -0800
commit7c5252d65ddcc94ed69da489c9ca068981db7e28 (patch)
tree16284a63a6dad1d8843ca460726e85e7f1ce90c3 /README.org
parenta4549752db6551f0a6cc17d80b67832fad8848f0 (diff)
downloadnorns-etc-7c5252d65ddcc94ed69da489c9ca068981db7e28.tar.gz
norns-etc-7c5252d65ddcc94ed69da489c9ca068981db7e28.zip
Readme indentation
Diffstat (limited to 'README.org')
-rw-r--r--README.org15
1 files 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