When googling around about c9 on the Raspberry Pi , nothing poped up;
So I tried and ... it just works.
I still didn't try anything else than install, launch and test c9 with some first level browsing, and I can't tell if every thing works as expected.
More over, assuming that the R-Pi has limited CPU, Memory and IO, I am still not sure there is any kind of interest to run c9 on the Pi, but ... it is fun to know it works.
Here is what I had to do to have it to work :
sudo npm install -g sm
git clone https://github.com/ajaxorg/cloud9.git cloud9
cd cloud9
sm install
#At this step I had a HTTP 502 Error on treehugger module and had to proceed like this :
npm install treehugger
sm install --cached
sudo sm install
#At this step some modules were still missing and I had to install them manually :
npm install formidable
npm install gnu-tools
npm install xmldom
#The c9 startup script rely on "uname -a" to detect the OS and I had to edit "bin/cloud9.sh and add the following lines before "*) echo "Unknown OS"" :
#To allow c9 on the R-pi to be accessed from a remote browser edit "configs/default.js" and adjust like this :Linux*raspberrypi*) echo "Linux raspberrypi ARM"
node server.js "$@" -a x-www-browser
;;
var host = argv.l || "0.0.0.0";
#To start Cloud9 :
bin/cloud9.sh -w ~/MySuperProject
#You can now access the c9 Web based IDE at the following URL :
http://Your_R-Pi_IP_Adress:3131
XavM