komasshu-skyway-sample / raspi2peerjs

1 stars 0 forks source link

run on raspberry pi #3

Closed KensakuKOMATSU closed 9 years ago

KensakuKOMATSU commented 9 years ago

currently, this process has been tested on MacOS. So, test on raspberry pi device.

KensakuKOMATSU commented 9 years ago

install nvm & node (git is install already)

$ git clone https://github.com/creationix/nvm.git ~/.nvm
$ source ~/.nvm/nvm.sh
$ nvm install v0.10.28
// cause 0.10.28 is the latest version that includes precompiled for raspi in the repository
$ vi .bashrc
...
source ~/.nvm/nvm.sh
nvm use 0.10
KensakuKOMATSU commented 9 years ago

clone raspi2peerjs

$ https://github.com/komasshu-skyway-sample/raspi2peerjs.git
$ cd raspi2peerjs
$ npm install