coder icon indicating copy to clipboard operation
coder copied to clipboard

Installing Coder manually

Open philippwiddra opened this issue 12 years ago • 4 comments

Could you add a description how to manually install Coder on a Pi or any other linux maschine? You do not want to reinstall / reconfigure everything i already did on my pi just to run coder. I tried following to install:

sudo apt-get install redis-server
mkdir -p ~/src && cd $_
git clone https://github.com/googlecreativelab/coder.git
cd coder/coder-base
npm install
npm start

I also tried node server.js and looked into the config.js file.

The result is always a server which seems running, ( i get 14 Sep 17:47:52 - redirect: 192.168.1.8:8080 443 / log messages) but when accessing the server via raspberrypis-local-ip:8080 i get Error: Corrupted content and when accessing via port 8081 the page never stops loading.

philippwiddra avatar Sep 14 '13 15:09 philippwiddra

See http://chrismcleod.me/2013/09/13/run-coder-for-raspberry-pi-on-your-linux-pc

i also had to install nodejs + nodejs-legacy packages for ubuntu

and the URL will be https://localhost:8081 (or the hostname of where ever you installed the packages)

wjgeorge avatar Sep 15 '13 22:09 wjgeorge

I try tro do the same on Mac and the procedure is : Install XCode and Command line tool Install NodeJS and npm from http://nodejs.org/download/ Install GIT from http://git-scm.com/download/mac git clone https://github.com/googlecreativelab/coder.git cd coder/coder-base npm install npm start

After connect to https://localhost:8081 and choose a password. On the console running node you need to for now enter your password. An other solution as explain in issue https://github.com/googlecreativelab/coder/issues/4 will be to modify auth apps.

You can finally enjoy coder.

vmauge avatar Sep 17 '13 06:09 vmauge

There's also another guide for doing this here: http://pi.gadgetoid.com/article/running-google-coder-on-your-existing-raspberry-pi-or-desktop-pc

lurch avatar Sep 17 '13 22:09 lurch

@vmauge what command actually starts the node.js server that coder runs on from a Mac? Does the node.js that you write in the Coder node tab run on top of that process or in a separate node.js process? And where could it be monitored? I may open an issue for this question specifically.

brannondorsey avatar Oct 04 '13 13:10 brannondorsey