Wednesday, February 27, 2013

How to install Cloud 9 on raspberry pi

If node.js is not install start by install it.

$sudo apt-get update && sudo apt-get -y upgrade
$sudo apt-get -y install build-essential openssl libssl-dev pkg-config

$export NODE_PATH="/usr/local/lib/node_modules"

$cd ~
$git clone https://github.com/ajaxorg/node-libxml.git
$cd node-libxml
$git checkout v0.0.7
$git submodule init
$git submodule update
npm cache add ~/node-libxml/

$nano support/o3/wscript
remove -msse2

$sudo npm install -g sm
$sudo chown -Rf 1000:1000 /usr/local/lib/node_modules/sm

$cd ~
$git clone https://github.com/ajaxorg/cloud9.git cloud9
$cd cloud9
$cd ~/cloud9
$sm install

All steps took about 60-90 min.

To run
$bin/cloud9.sh -l 0.0.0.0

brows to http:ip.to.rpi//:3131/



Have fun hacking
Marcus