How to install Google Coder on Archlinux ARM – Raspberry Pi

Hey everyone 😉

Today I’ll explain you how to install Coder on Archlinux ARM running on a Raspberry Pi.

First of all you need to install nodejs, it’s in the official repositories…to simply run:

pacman -S nodejs

as root and you are ready to go.

Then go to your /home directory and run: (make sure git is installed!) and:

git clone git://github.com/googlecreativelab/coder
cd coder/coder-base
npm install

If you prefer to run Coder on a different port than 80/443 (for example if you are running a web server on your Pi) you can edit coder/coder-base/config.js this way:

exports.listenIP = null; //Defaults to *
exports.listenPort = ‘9181’; //the SSL port things run on
exports.httpListenPort = ‘9180’; //this will all be redirected to SSL
exports.cacheApps = true;
exports.httpVisiblePort = ‘9080’; //forwarded http port the user sees
exports.httpsVisiblePort = ‘9443’; //forwarded https port the user sees

Now there is a little problem… basically Coder assumes that an account named “pi” exists and it tries to set a password related to that account..

Simply go to coder/coder-base/sudo_scripts and edit setpipass, remove the “/usr/bin/passwd pi” line and save the file.

 Then run as root:

cd coder/coder-base
npm start

Now open your browser on your computer and visit: https://RASPIPADDRESS:9181/
You are ready to set your Coder password and start coding!

AUTOSTART

If you want to make Coder to run at system startup since Archlinux has implemented systemd you can create a new unit like the one below and then enable it:

[Unit]
Description=Google Coder
After=network.target

[Service]
Type=simple
WorkingDirectory=/home/YOURUSERNAME/coder/coder-base
ExecStart=/bin/npm start
Restart=always

[Install]

WantedBy=multi-user.target

My Raspberry Pi Project – GPIO

Hi Guys 😉

Today I’ll introduce you my Raspberry Pi Project.

It’s basically a Python2 Script which controls an LCD Display, A Button, a LED and a Temperature Sensor.
It prints a lot of informations about the system, check for running services, air terperature and humidity on the LCD.

Check it out 😉

And Here you can find the script: https://app.box.com/s/x5pqbtmpz7ms75w9gr27


Testing Elementary OS 0.2 Luna

Today I decided to give Elementary OS 0.2 a try! I installed it on my old laptop (with Centrino Dual Core processor) and I have to admit It works really well!
I’m very excited! Good work Elementary 😉
It’s fast, simple and easy to use…Mostly it’s based on Ubuntu 12.04 LTS..that’s a good point for stability 😉
I hope Pantheon (DE) will work so well and fast on Arch ASAP too! 😛
…Great impression BTW…
Enjoy!
EDIT: New Look!
Installed slim-wingpanel 😉
And …. New Kernel!