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/v4.7.0/node-v4.7.0-linux-armv6l.tar.xz

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

npm -v

(should return at least 2.15.11)

node -v

(should return at least v4.7.0)

----Install git-----

sudo apt-get update
sudo apt-get install git

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

sudo apt-get install build-essential
sudo apt-get install python

----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