Ethercalc on Raspberry Pi with node.js

Multiplayer spreadsheets for your Raspbian installation


Whether you need to work on spreadsheets with multiple people or you just want an online/mobile server to host your spreadsheets, Ethercalc has got you covered. And as far as I know it’s the only to do it in multiplayer. That is, until I can finally get Apache Wave to run on the RasPi..

So let’s get this show on the road, we start off by making sure everything is up to date with a:

$ sudo apt-get update

Followed by a:

$ sudo apt-get upgrade

Now we’ll install node.js on the Raspberry Pi. Since I couldn’t have made it any easier or explained any better, I’ll redirect you to this tutorial for that. It’s okay, I’ll wait here until you’re done…

All installed and ready to go? Good! Let’s continue where we left off. Now that node is up and running, we need to install Ethercalc itself. This doesn’t work via the usual apt-get command, but instead it’s installed via NPM. Luckily, this software comes bundled with node.js nowadays, so that’s one less thing to worry about. So we can skip straight to installing Ethercalc:

$ sudo npm i -g ethercalc

For a while you’ll see “things” happen in the command line. Don’t be scared, these are nice, happy, and exciting “things”. But they do take a while. After the installation is finished you can congratulate yourself on a job well done and grab a coffee. However, you do want to actually use Ethercalc right? So when you’re back with your coffee we’ll do the following: Install Forever, and run Ethercalc via Forever.

$ sudo npm install forever -g

Again, happy, fantastic little things should be happening in the terminal. When it’s done installing you can run Ethercalc with the following command. Keep in mind that you will need to run this command everytime you boot up your Raspberry Pi.

$ forever -s start node-v0.10.2-linux-arm-pi/bin/node_modules/ethercalc/bin/ethercalc

And hey presto, it runs and is accessible through http://YOUR.RASPI.ADDRESS:8000