Skip to content
This repository has been archived by the owner on Jan 29, 2018. It is now read-only.

Install: Pocketchip

Claudio Prezzi edited this page Dec 8, 2016 · 10 revisions

##USE PocketChip as LW3 Host

Courtesy of Jon Bruno

Open terminal

----Install SSH Support----

sudo apt-get update
sudo apt-get install openssh-server

Connect to pocket chip via SSH log in as user:chip default password: chip

----Install Node----

cd /usr/src

sudo wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-armv6l.tar.xz

sudo tar -xvf node-v6.9.2-linux-armv6l.tar.xz
cd node-v6.9.2-linux-armv6l
sudo cp -R * /usr/local/

npm -v

(should return at least 3.10.9)

node -v

(should return at least v6.9.2)

----Install git-----

sudo apt-get update
sudo apt-get install git

----Install G++/GCC compiler----

sudo apt-get install build-essential

----Download LaserWeb----

cd /home/chip
git clone https://github.com/openhardwarecoza/LaserWeb3.git
cd LaserWeb3
sudo npm install

----Manually start LaserWeb----

cd /home/chip/LaserWeb3
node server.js