Raspberry Pi Home Server – Install Cloud9 to host and share your code

Warning : This article has been automatically translated by Google Translate

Danger : This article has been automatically translated by Google Translate

Caveat : This article has been automatically translated by Google Translate

If you work a lot with web languages, you want to continue to work outside the home or work as a team, Cloud9 can be an excellent solution for you. Supporting HTML, CSS, PHP, Java, Ruby and 23 other languages, It is ideal for development with a Cloud.

The slogan : This is Google Docs, but for code. And it is exactly that (Yes always !). Colaboration, sharing, remote SSH or FTP connection, shortcuts in every sense, themes. Brief, It is the ideal IDE

Update the system

apt-get update && apt-get -y upgrade

Create directory for Node.js

CD/opt

Download Node.JS. I've tried versions 0.11.x, then 0.10.x and finally 0.9.x. No way. In the end thanks to my friend Google, This is the version 0.8.17 What to use …

You can now install the module with the npm command (Node Package Manager). You should always be in the directory libxml-node_modules-cloud9

NPM install - unsafe-perm

When compiling, at the beginning, There are controls. All rows must be green. Il vous faudra patienter facilement 15 minutes.

Install additional modules

cd ../..
NPM install g

Patience there too, must be good an hour. In case of crash, You may need to install “Traverse” manually before raising the npm command :

NPM install traverse@0.5.2

Install the missing packages if necessary (you will soon know if you start the server)

NPM install g terrific v8debug gnu-tools xmldom

Yet to start the server by pointing the workspace on your directory with your sources :

bin/cloud9.sh-l 0.0.0.0 -w/my/path /.

You can now connect your Raspberry IP on port 3131.Here you are in the interface. What is nice is for web development with the preview you may have in “almost” real time side without changing tab or browser.

Attention home I go on Chrome, Safari not letting me edit a file in a tab.

PI Home Server uses cookies with pieces of raspberries to guarantee you the best experience in the world nothing that. If you continue to come here (I hope), vous acceptez l'utilisation des cookies.OK I want !