From c18bdc098560fbad914e4b852f55f1b40f75e6b7 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 30 Jan 2014 22:52:10 +0000 Subject: [PATCH] Fix README on Github frontpage --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cec13ed..e56051e 100644 --- a/README.md +++ b/README.md @@ -80,23 +80,30 @@ You know what you need for you system, basically your appropriate analog of buil * Starting with a a vanilla New Out of the Box Software (NOOBS) Raspbian image (currently tested: 5/25/2013) * Log into your Raspberry Pi through whatever means works best and ensure you are on a terminal prompt for the remaining steps. This could be local or through an SSH (or a serial connection if you like). * Issue the following commands to ensure you are up to date: -``` + +```bash sudo apt-get update sudo apt-get upgrade -y ``` + * Download and install node.js: -``` + +```bash wget http://nodejs.org/dist/v0.10.12/node-v0.10.12-linux-arm-pi.tar.gz tar xvfz node-v0.10.12-linux-arm-pi.tar.gz sudo mv node-v0.10.12-linux-arm-pi /opt/node/ ``` + * Set up your paths correctly: -``` + +```bash echo 'export PATH="$PATH:/opt/node/bin"' >> ~/.bashrc source ~/.bashrc ``` + * Install using npm, note this will take a while as it is actually compiling code and that ARM processor is getting a workout. -``` + +```bash npm install serialport ```