From 1ee6274100f92579aaf0a0a146987582827a8599 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 8 Sep 2016 00:00:07 -0700 Subject: [PATCH] added raspberry-pi instructions --- docs/raspberry-pi.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/raspberry-pi.md diff --git a/docs/raspberry-pi.md b/docs/raspberry-pi.md new file mode 100644 index 00000000..28307009 --- /dev/null +++ b/docs/raspberry-pi.md @@ -0,0 +1,31 @@ +# Raspberry Pi and Raspbian + +It is possible to run the web editor or [command line interface](/cli) from Raspbian on Raspberry Pi 2 or 3. + +## Web editor + +The web editor requires to install IceWeasel (Firefox) as the built-in browser cannot handle it. + +``` +sudo apt-get install iceweasel +``` + +Once installed simply navigate to https://codethemicrobit.com or type + +``` +firefox https://codethemicrobit.com +``` + +## Command line + +The PXT command line also works on Raspbian and allows to run a local server and/or edit programs from any text editor. + +* Node.JS 6.0 needs installed + +To install all the tools, + +``` +git clone https://github.com/Microsoft/pxt-rpi.git +cd pxt-rpi +sh ./install.sh +``` \ No newline at end of file