Install Google Coder on Ubuntu / Debian / Raspbian
Web agency » Digital news » Install Google Coder on Ubuntu / Debian / Raspbian

Install Google Coder on Ubuntu / Debian / Raspbian

Small article to talk about Google Coder. This little project that allows you to learn to code on a Raspberry Pi is really screwed up. Entirely written in javascript it clearly demonstrates the speed of node.js for web applications. For my part, I use it to learn how to manipulate CSS and HTML5 tags. On the server side, I stay on python and Django. In short, if you don't want to format your raspberry just for that, you can install Coder on Ubuntu or Debian. You can also follow this procedure to install it on your RPI (on raspbian) without reinstalling the system as required by the official installation.

Prerequisites

Node.js

On ubuntu installing node.js and the npm library management tool is easy:

On the other hand on Debian it is necessary to install the backport repositories before

Make a symbolic link from nodejs to node
ln -s / usr / bin / nodejs / usr / local / bin / node
Check the installation

NPM

We get the script and we install on the fly

Verification

Installing Google Coder

Source recovery

We place ourselves in the file and we install the necessary libraries

Installing applications in coder

The application needs a “pi” user

Start coding

The application is then available at the address of the machine that hosts all this. To modify the listening port you can modify the coder-base / config.js file. Here is mine:

google_coder_eyeball

★ ★ ★ ★ ★