Wednesday 28 December 2016

Setting up Raspberry Pi with DarkIce and Node

Operating System

Load the SD Card with Raspbian following these instructions
https://www.raspberrypi.org/documentation/installation/installing-images/mac.md

drop a file called "ssh" into the boot folder

connect using airport express

setup wifi using command-line (plenty of explanations on google)

Install stuff

sudo apt-get update
 (that may avoid problems later with that missing line in the v8.h header file)
sudo apt-get install nodejs
sudo apt-get install mongodb

Set up samba so you can browse the folders from the mac

sudo apt-get install samba samba-common-bin
nano /etc/samba/smb.conf

in the [home] section
 read only = no
 browsable = yes

sudo smbpasswd -a pi

$ sudo /etc/init.d/samba stop
$ sudo /etc/init.d/samba start

Problems trying to install the application packages using npm

Ran into this
https://www.raspberrypi.org/forums/viewtopic.php?t=127939&p=856473